From: Simon Wunderlich Date: Fri, 11 Jan 2013 09:19:51 +0000 (+0100) Subject: batman-adv: postpone sysfs removal when unregistering X-Git-Tag: v3.9-rc1~139^2~321^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bc44dc8458cbac08c664f2f337326bf87cc924b;p=pandora-kernel.git batman-adv: postpone sysfs removal when unregistering 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 Reported-by: Sven Eckelmann Signed-off-by: Simon Wunderlich Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed