[BRIDGE]: Fix locking of set path cost.
authorStephen Hemminger <shemminger@linux-foundation.org>
Tue, 27 Feb 2007 17:55:07 +0000 (09:55 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 28 Feb 2007 17:42:12 +0000 (09:42 -0800)
commit6548cda289b549ed60c35f16a0051609aeee2fd0
tree97b30b8ea7e9cd621195d3de57ca182dd5f04d60
parentaa6e4a96e7589948fe770744f7bb4f0f743dddaa
[BRIDGE]: Fix locking of set path cost.

This change goes with earlier change to get rid of
work queue for path cost. Now stp_set_path_cost does its own
locking. This is to allow it to call br_path_cost() which calls
ethtool interfaces (might sleep).

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