[BRIDGE]: port timer initialization
authorStephen Hemminger <shemminger@osdl.org>
Sat, 4 Mar 2006 01:15:34 +0000 (17:15 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 5 Mar 2006 05:06:21 +0000 (21:06 -0800)
commitd32439c0d4cec5c4101477989ee8c7ee1ebfbb0e
treec28284854f8f1aa74f60ed8378c0984fbcae747e
parent6e86b89084a60355f0e1fb876ca0cfbca62ee85c
[BRIDGE]: port timer initialization

Initialize the STP timers for a port when it is created,
rather than when it is enabled. This will prevent future race conditions
where timer gets started before port is enabled.

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