[BRIDGE]: fix crash in STP
authorStephen Hemminger <shemminger@osdl.org>
Sat, 4 Mar 2006 01:14:51 +0000 (17:14 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 5 Mar 2006 05:06:19 +0000 (21:06 -0800)
commit6e86b89084a60355f0e1fb876ca0cfbca62ee85c
tree076b621fad864de984661a9a15bd526bc068776b
parent501f74f29498543c27f4f9697f5c1e980dd2de0d
[BRIDGE]: fix crash in STP

Bridge would crash because of uninitailized timer if STP is used and
device was inserted into a bridge before bridge was up. This got
introduced when the delayed port checking was added.  Fix is to not
enable STP on port unless bridge is up.

Bugzilla: http://bugzilla.kernel.org/show_bug.cgi?id=6140
Dup:      http://bugzilla.kernel.org/show_bug.cgi?id=6156

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c