Project

General

Profile

Bug #5744 » netmap-patch-v5.diff

NETMAP_V14 patch for 6.0.10 branch - Bill Meeks, 02/14/2023 04:44 AM

View differences:

src/source-netmap.c
#else
if (nm_inject(ntv->ifdst->nmd, GET_PKT_DATA(p), GET_PKT_LEN(p)) == 0) {
#endif
/* writing the packet failed, but still need kernel to sync TX rings */
ioctl(ntv->ifdst->nmd->fd, NIOCTXSYNC, 0);
if (ntv->flags & NETMAP_FLAG_EXCL_RING_ACCESS) {
SCMutexUnlock(&ntv->ifdst->netmap_dev_lock);
}
(7-7/7)