Patch to restore vnet at a couple of places
Adrian Chadd
adrian at freebsd.org
Sat Mar 3 00:17:48 UTC 2012
Is the same problem in -HEAD?
Adrian
On 2 March 2012 10:28, Vijay Singh <vijju.singh at gmail.com> wrote:
> Patch is against 9-stable.
>
> [pc20 /u/vijay/bsd/CODE/9s/sys]# svn diff net/if_ethersubr.c
> Index: net/if_ethersubr.c
> ===================================================================
> --- net/if_ethersubr.c (revision 232242)
> +++ net/if_ethersubr.c (working copy)
> @@ -661,8 +661,10 @@
> m = (*lagg_input_p)(ifp, m);
> if (m != NULL)
> ifp = m->m_pkthdr.rcvif;
> - else
> + else {
> + CURVNET_RESTORE();
> return;
> + }
> }
>
> /*
> @@ -681,6 +683,7 @@
> #endif
> ifp->if_ierrors++;
> m_freem(m);
> + CURVNET_RESTORE();
> return;
> }
>
> -vijay
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net
mailing list