mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 03:04:34 +01:00
vtnet: use CURVNET_SET() instead of CURVNET_SET_QUIET()
We don't expect the VNET context to be set for virtqueue neither
for taskqueue handlers.
Suggested by: zec
Fixes: 3f2b960775
This commit is contained in:
parent
e991acd5d0
commit
a01c7081fe
@ -2086,7 +2086,7 @@ vtnet_rxq_eof(struct vtnet_rxq *rxq)
|
||||
|
||||
VTNET_RXQ_LOCK_ASSERT(rxq);
|
||||
|
||||
CURVNET_SET_QUIET(if_getvnet(ifp));
|
||||
CURVNET_SET(if_getvnet(ifp));
|
||||
while (count-- > 0) {
|
||||
struct mbuf *m;
|
||||
uint32_t len, nbufs, adjsz;
|
||||
|
Loading…
Reference in New Issue
Block a user