Re: [PATCH] net: dsa: Don't add vlans when vlan filtering is disabled

2017-11-09 Thread David Miller
From: Andrew Lunn Date: Tue, 7 Nov 2017 00:04:24 +0100 > The software bridge can be build with vlan filtering support > included. However, by default it is turned off. In its turned off > state, it still passes VLANs via switchev, even though they are not to > be used. Don't pass these VLANs to

Re: [PATCH] net: dsa: Don't add vlans when vlan filtering is disabled

2017-11-06 Thread Andrew Lunn
On Mon, Nov 06, 2017 at 03:13:19PM -0800, Florian Fainelli wrote: > Hi Andrew, > > On 11/06/2017 03:04 PM, Andrew Lunn wrote: > > The software bridge can be build with vlan filtering support > > included. However, by default it is turned off. In its turned off > > state, it still passes VLANs via

Re: [PATCH] net: dsa: Don't add vlans when vlan filtering is disabled

2017-11-06 Thread Florian Fainelli
Hi Andrew, On 11/06/2017 03:04 PM, Andrew Lunn wrote: > The software bridge can be build with vlan filtering support > included. However, by default it is turned off. In its turned off > state, it still passes VLANs via switchev, even though they are not to > be used. Don't pass these VLANs to the

Re: [PATCH] net: dsa: Don't add vlans when vlan filtering is disabled

2017-11-06 Thread Andrew Lunn
Hi David I forgot to put the tree in the subject. This is for net-next. Sorry Andrew

[PATCH] net: dsa: Don't add vlans when vlan filtering is disabled

2017-11-06 Thread Andrew Lunn
The software bridge can be build with vlan filtering support included. However, by default it is turned off. In its turned off state, it still passes VLANs via switchev, even though they are not to be used. Don't pass these VLANs to the hardware. Only do so when vlan filtering is enabled. This fix