Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2012 16:17:46 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Vijay Singh <vijju.singh@gmail.com>
Cc:        net@freebsd.org
Subject:   Re: Patch to restore vnet at a couple of places
Message-ID:  <CAJ-VmokkrKWWCq62_%2B11NhYqR%2BZ=wLaq4iUXcm%2BHcSQXeqZLOg@mail.gmail.com>
In-Reply-To: <CALCNsJSOpmGKtN5yJiLuCMpVz8z%2Bt8EV=j%2BMUtyR4t-cRRTJ6g@mail.gmail.com>
References:  <CALCNsJSOpmGKtN5yJiLuCMpVz8z%2Bt8EV=j%2BMUtyR4t-cRRTJ6g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Is the same problem in -HEAD?


Adrian


On 2 March 2012 10:28, Vijay Singh <vijju.singh@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
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- net/if_ethersubr.c =A0(revision 232242)
> +++ net/if_ethersubr.c =A0(working copy)
> @@ -661,8 +661,10 @@
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 m =3D (*lagg_input_p)(ifp, m);
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 if (m !=3D NULL)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ifp =3D m->m_pkthdr.rcvif;
> - =A0 =A0 =A0 =A0 =A0 =A0 =A0 else
> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 else {
> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 CURVNET_RESTORE();
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 return;
> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 }
> =A0 =A0 =A0 }
>
> =A0 =A0 =A0 /*
> @@ -681,6 +683,7 @@
> =A0#endif
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ifp->if_ierrors++;
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 m_freem(m);
> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 CURVNET_RESTORE();
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 return;
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 }
>
> -vijay
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokkrKWWCq62_%2B11NhYqR%2BZ=wLaq4iUXcm%2BHcSQXeqZLOg>