Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178097187
D45950.1795951872.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
426 B
Referenced Files
None
Subscribers
None
D45950.1795951872.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
Sun, Nov 29, 11:31 AM (5 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42089100
Default Alt Text
D45950.1795951872.diff (426 B)
Attached To
Mode
D45950: vtnet: Fix an LOR in the input path
Attached
Detach File
Event Timeline