Re: [PATCH net] net: dsa: fix unintended change of bridge interface STP state

2019-02-20 Thread David Miller
From: Russell King Date: Wed, 20 Feb 2019 10:32:52 + > When a DSA port is added to a bridge and brought up, the resulting STP > state programmed into the hardware depends on the order that these > operations are performed. However, the Linux bridge code believes that > the port is in disable

Re: [PATCH net] net: dsa: fix unintended change of bridge interface STP state

2019-02-20 Thread Florian Fainelli
On 2/20/19 9:27 AM, Andrew Lunn wrote: > On Wed, Feb 20, 2019 at 09:22:30AM -0800, Florian Fainelli wrote: >> On 2/20/19 2:32 AM, Russell King wrote: >>> When a DSA port is added to a bridge and brought up, the resulting STP >>> state programmed into the hardware depends on the order that these >>>

Re: [PATCH net] net: dsa: fix unintended change of bridge interface STP state

2019-02-20 Thread Andrew Lunn
On Wed, Feb 20, 2019 at 09:22:30AM -0800, Florian Fainelli wrote: > On 2/20/19 2:32 AM, Russell King wrote: > > When a DSA port is added to a bridge and brought up, the resulting STP > > state programmed into the hardware depends on the order that these > > operations are performed. However, the L

Re: [PATCH net] net: dsa: fix unintended change of bridge interface STP state

2019-02-20 Thread Florian Fainelli
On 2/20/19 2:32 AM, Russell King wrote: > When a DSA port is added to a bridge and brought up, the resulting STP > state programmed into the hardware depends on the order that these > operations are performed. However, the Linux bridge code believes that > the port is in disabled mode. > > If the

Re: [PATCH net] net: dsa: fix unintended change of bridge interface STP state

2019-02-20 Thread Vivien Didelot
On Wed, 20 Feb 2019 10:32:52 +, Russell King wrote: > When a DSA port is added to a bridge and brought up, the resulting STP > state programmed into the hardware depends on the order that these > operations are performed. However, the Linux bridge code believes that > the port is in disabled

[PATCH net] net: dsa: fix unintended change of bridge interface STP state

2019-02-20 Thread Russell King
When a DSA port is added to a bridge and brought up, the resulting STP state programmed into the hardware depends on the order that these operations are performed. However, the Linux bridge code believes that the port is in disabled mode. If the DSA port is first added to a bridge and then brough