Bug #5744 » netmap-patch-v5.diff
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);
|
||
}
|
- « Previous
- 1
- …
- 5
- 6
- 7
- Next »