]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Handle non-bridge master change
authorGuenter Roeck <linux@roeck-us.net>
Wed, 25 Mar 2015 15:08:37 +0000 (08:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Mar 2015 18:04:57 +0000 (14:04 -0400)
commit28111a3ea865208d60e9a7076021be5c839a92bd
tree9bc9276a6688936777f45c39488d3f0b34d85d9a
parentcb75276d9b69d8f4116c6efaef024782ac197e68
net: dsa: Handle non-bridge master change

Master change notifications may occur other than when joining or
leaving a bridge, for example when being added to or removed from
a bond or Open vSwitch. In that case, do nothing instead of asking
the switch driver to remove a port from a bridge that it didn't join.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c