In if_siocaddmulti() enter VNET.
Reported & tested by: garga
This commit is contained in:
parent
7cdcf86360
commit
9352fab6ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354685
@ -3571,7 +3571,9 @@ if_siocaddmulti(void *arg, int pending)
|
||||
if (pending > 1)
|
||||
if_printf(ifp, "%d SIOCADDMULTI coalesced\n", pending);
|
||||
#endif
|
||||
CURVNET_SET(ifp->if_vnet);
|
||||
(void )(*ifp->if_ioctl)(ifp, SIOCADDMULTI, 0);
|
||||
CURVNET_RESTORE();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user