Re: [PATCH net-next 1/2] net: dsa: untag the bridge pvid from rx skbs

2020-09-23 Thread Florian Fainelli
On 9/23/20 1:14 AM, Vladimir Oltean wrote: > On Tue, Sep 22, 2020 at 08:11:54PM -0700, Florian Fainelli wrote: >> diff --git a/include/net/dsa.h b/include/net/dsa.h >> index d16057c5987a..b539241a7533 100644 >> --- a/include/net/dsa.h >> +++ b/include/net/dsa.h >> @@ -301,6 +301,14 @@ struct

Re: [PATCH net-next 1/2] net: dsa: untag the bridge pvid from rx skbs

2020-09-23 Thread Vladimir Oltean
On Tue, Sep 22, 2020 at 08:11:54PM -0700, Florian Fainelli wrote: > diff --git a/include/net/dsa.h b/include/net/dsa.h > index d16057c5987a..b539241a7533 100644 > --- a/include/net/dsa.h > +++ b/include/net/dsa.h > @@ -301,6 +301,14 @@ struct dsa_switch { >*/ > bool

[PATCH net-next 1/2] net: dsa: untag the bridge pvid from rx skbs

2020-09-22 Thread Florian Fainelli
From: Vladimir Oltean Currently the bridge untags VLANs present in its VLAN groups in __allowed_ingress() only when VLAN filtering is enabled. But when a skb is seen on the RX path as tagged with the bridge's pvid, and that bridge has vlan_filtering=0, and there isn't any 8021q upper with that