[BRIDGE]: eliminate workqueue for carrier check
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 22 Feb 2007 09:10:18 +0000 (01:10 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Feb 2007 19:42:59 +0000 (11:42 -0800)
commit269def7c505b4d229f9ad49bf88543d1e605533e
tree341377271f16c0def001a876217a8e6f430d75b4
parentac062e84d0c177c43549e7fb608152fec218e7fc
[BRIDGE]: eliminate workqueue for carrier check

Having a work queue for checking carrier leads to lots of race issues.
Simpler to just get the cost when data structure is created and
update on change.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c
net/bridge/br_notify.c
net/bridge/br_private.h