Page MenuHomeFreeBSD

D45950.diff
No OneTemporary

D45950.diff

diff --git a/sys/dev/virtio/network/if_vtnet.c b/sys/dev/virtio/network/if_vtnet.c
--- a/sys/dev/virtio/network/if_vtnet.c
+++ b/sys/dev/virtio/network/if_vtnet.c
@@ -2008,6 +2008,8 @@
struct vtnet_softc *sc;
if_t ifp;
+ VTNET_RXQ_LOCK_ASSERT(rxq);
+
sc = rxq->vtnrx_sc;
ifp = sc->vtnet_ifp;
@@ -2056,7 +2058,9 @@
}
#endif
+ VTNET_RXQ_UNLOCK(rxq);
if_input(ifp, m);
+ VTNET_RXQ_LOCK(rxq);
}
static int

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 19, 5:57 PM (1 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27750370
Default Alt Text
D45950.diff (426 B)

Event Timeline