Errors using span interface on if_bridge(4)
hiren panchasara
hiren.panchasara at gmail.com
Sun Feb 2 02:29:22 UTC 2014
On Sat, Feb 1, 2014 at 5:16 PM, hiren panchasara
<hiren.panchasara at 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
More information about the freebsd-net
mailing list