[panic] netmap(4) and if_lagg(4)

Harry Schmalzbauer freebsd at omnilan.de
Fri May 26 07:37:04 UTC 2017


Bezüglich Vincenzo Maffione's Nachricht vom 26.05.2017 09:31 (localtime):
> Is lagg0 the only interface attached to vale0?

Yes.


> Is lagg0 aggregating a VLAN interface?

No.


> You can try this trivial patch
> 
> diff --git a/sys/dev/netmap/netmap_generic.c
> b/sys/dev/netmap/netmap_generic.c
> index f148b228..46a3c2c6 100644
> --- a/sys/dev/netmap/netmap_generic.c
> +++ b/sys/dev/netmap/netmap_generic.c
> @@ -950,6 +950,10 @@ generic_rx_handler(struct ifnet *ifp, struct mbuf *m)
>         u_int work_done;
>         u_int r = MBUF_RXQ(m); /* receive ring number */
>  
> +       if (!NM_NA_VALID(ifp)) {
> +               return 0;
> +       }
> +
>         if (r >= na->num_rx_rings) {
>                 r = r % na->num_rx_rings;
>         }


Thank you very much, I'll compile.

I'd like to point to my other, directly if_vlan(4) related problem:
https://lists.freebsd.org/pipermail/freebsd-net/2017-May/048000.html
Having this explained/solved would split a big part of my
too-much-variables-equation :-)

Thanks,

-harry


More information about the freebsd-net mailing list