]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[BRIDGE]: adding new device to bridge should enable if up
authorAji Srinivas <emc.com>
Thu, 8 Mar 2007 00:10:53 +0000 (16:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2007 00:10:53 +0000 (16:10 -0800)
commitde79059ecd7cd650f3788ece978a64586921d1f1
treed243e26bd799242ddd681e04311f70e40070a4b8
parentc7ababbdc647e67e953d153ddf62cbdc9fe3297e
[BRIDGE]: adding new device to bridge should enable if up

One change introduced by the workqueue removal patch is that adding an
interface that is up to a bridge which is also up does not ever call
br_stp_enable_port(), leaving the port in DISABLED state until we do
ifconfig down and up or link events occur.

The following patch to the br_add_if function fixes it.
This is a regression introduced in 2.6.21.

Submitted-by: Aji_Srinivas@emc.com
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c