Date: Sat, 1 Feb 2014 18:29:19 -0800 From: hiren panchasara <hiren.panchasara@gmail.com> To: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: Errors using span interface on if_bridge(4) Message-ID: <CALCpEUEDCPWog3sQzhTgL2NFyF1OB7YECxPvEr%2BLxNvhOOhQtA@mail.gmail.com> In-Reply-To: <CALCpEUFLwZ6vismFKgyo1Q_P4iwzxS%2BjBozTV%2BO1kvap6U8brQ@mail.gmail.com> References: <CALCpEUH7YHhG3gw0wrObsJux=PWmJu2K6_tzCbCfXQ21ENYHdw@mail.gmail.com> <CALCpEUEuXR7_Q8_zt2TjnsOqt_rYMH5do=UEjssqkj684Xdimg@mail.gmail.com> <CALCpEUFLwZ6vismFKgyo1Q_P4iwzxS%2BjBozTV%2BO1kvap6U8brQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 1, 2014 at 5:16 PM, hiren panchasara <hiren.panchasara@gmail.com> wrote: > I rebuilt the kernel with following change to check failure: > > Index: if_bridge.c > =================================================================== > --- if_bridge.c (revision 260789) > +++ if_bridge.c (working copy) > @@ -2536,6 +2536,7 @@ > struct bridge_iflist *bif; > struct ifnet *dst_if; > struct mbuf *mc; > + int error = 0; > > if (LIST_EMPTY(&sc->sc_spanlist)) > return; > @@ -2552,7 +2553,9 @@ > continue; > } > > - bridge_enqueue(sc, dst_if, mc); > + error = bridge_enqueue(sc, dst_if, mc); > + if (error) > + printf("%s: bridge_enqueue failed\n", __func__); > } > } > > After this change and reboot, I see packets on ix3 without those > bad-len errors seen before. Just an update that it was not this change which was triggering anything. I reverted it and things are still the same. I guess reboot caused those bad-len errors to go away. Trying to find how to narrow down what is causing this checksum errors. cheers, Hiren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUEDCPWog3sQzhTgL2NFyF1OB7YECxPvEr%2BLxNvhOOhQtA>