Re: [B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Avoid deadlock between rtnl_lock and s_active

2011-05-04 Thread Marek Lindner
On Tuesday 03 May 2011 13:10:06 Linus Lüssing wrote: > From: Sven Eckelmann > > The hard_if_event is called by the notifier with rtnl_lock and tries to > remove sysfs entries when a NETDEV_UNREGISTER event is received. This > will automatically take the s_active lock. > > The s_active lock is al

[B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Avoid deadlock between rtnl_lock and s_active

2011-05-03 Thread Linus Lüssing
From: Sven Eckelmann The hard_if_event is called by the notifier with rtnl_lock and tries to remove sysfs entries when a NETDEV_UNREGISTER event is received. This will automatically take the s_active lock. The s_active lock is also used when a new interface is added to a meshif through sysfs. In

[B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Avoid deadlock between rtnl_lock and s_active

2011-05-03 Thread Linus Lüssing
From: Sven Eckelmann The hard_if_event is called by the notifier with rtnl_lock and tries to remove sysfs entries when a NETDEV_UNREGISTER event is received. This will automatically take the s_active lock. The s_active lock is also used when a new interface is added to a meshif through sysfs. In

[B.A.T.M.A.N.] [PATCH 2/2] batman-adv: Avoid deadlock between rtnl_lock and s_active

2011-04-29 Thread Sven Eckelmann
The hard_if_event is called by the notifier with rtnl_lock and tries to remove sysfs entries when a NETDEV_UNREGISTER event is received. This will automatically take the s_active lock. The s_active lock is also used when a new interface is added to a meshif through sysfs. In that situation we cann