Re: [PATCH] bridge: sysfs locking fix.

2007-08-24 Thread Daniel Lezcano
Stephen Hemminger wrote: Forget earlier patch, it is wrong... The stp change code generates "sleeping function called from invalid context" because rtnl_lock() called with BH disabled. This fixes it by not acquiring then dropping the bridge lock. Signed-off-by: Stephen Hemminger <[EMAIL PROTECT

Re: [PATCH] bridge: sysfs locking fix.

2007-08-14 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Tue, 14 Aug 2007 14:50:52 +0100 > Forget earlier patch, it is wrong... > > The stp change code generates "sleeping function called from invalid context" > because rtnl_lock() called with BH disabled. This fixes it by not acquiring > then > droppi

[PATCH] bridge: sysfs locking fix.

2007-08-14 Thread Stephen Hemminger
Forget earlier patch, it is wrong... The stp change code generates "sleeping function called from invalid context" because rtnl_lock() called with BH disabled. This fixes it by not acquiring then dropping the bridge lock. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- a/net/bridge/br_s