Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142335526
D45950.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
426 B
Referenced Files
None
Subscribers
None
D45950.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D45950: vtnet: Fix an LOR in the input path
Attached
Detach File
Event Timeline
Log In to Comment