Author: glebius Date: Wed Nov 13 16:28:53 2019 New Revision: 354685 URL: https://svnweb.freebsd.org/changeset/base/354685
Log: In if_siocaddmulti() enter VNET. Reported & tested by: garga Modified: head/sys/net/if.c Modified: head/sys/net/if.c ============================================================================== --- head/sys/net/if.c Wed Nov 13 15:56:07 2019 (r354684) +++ head/sys/net/if.c Wed Nov 13 16:28:53 2019 (r354685) @@ -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(); } /* _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"