Re: [B.A.T.M.A.N.] [PATCH] batman-adv: postpone sysfs removal when unregistering

2013-01-10 Thread Simon Wunderlich
Hey Antonio, On Thu, Jan 10, 2013 at 04:34:47AM +0200, Antonio Quartulli wrote: Hello Simon, thanks a lot for taking care of this and sorry for my very late reply.. no problem, thanks for your review! Il 31.12.2012 01:40 Simon Wunderlich ha scritto: diff --git a/hard-interface.c

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: postpone sysfs removal when unregistering

2013-01-09 Thread Antonio Quartulli
Hello Simon, thanks a lot for taking care of this and sorry for my very late reply.. Il 31.12.2012 01:40 Simon Wunderlich ha scritto: diff --git a/hard-interface.c b/hard-interface.c index f1d37cd..eb3a12d 100644 --- a/hard-interface.c +++ b/hard-interface.c @@ -506,6 +506,17 @@ out:

[B.A.T.M.A.N.] [PATCH] batman-adv: postpone sysfs removal when unregistering

2012-12-30 Thread Simon Wunderlich
When processing the unregister notify for a hard interface, removing the sysfs files may lead to a circular deadlock (rtnl mutex - s_active). To overcome this problem, postpone the sysfs removal in a worker. Reported-by: Sasha Levin sasha.le...@oracle.com Reported-by: Sven Eckelmann