aboutsummaryrefslogtreecommitdiff
path: root/Documentation/lockup-watchdogs.txt
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-05-28 17:32:32 +0200
committerAntonio Quartulli <ordex@autistici.org>2013-06-10 08:42:16 +0200
commitac16d1484efd5d2d9077c55453b1f8abff49fc18 (patch)
tree55c19412cafbd5021082a7faa923b285c33bfee7 /Documentation/lockup-watchdogs.txt
parent40edeff6e1c6f9a6f16536ae3375e3af9d648449 (diff)
batman-adv: wait for rtnl in batadv_store_mesh_iface instead of failing if it is taken
The rtnl_lock in batadv_store_mesh_iface has been converted to a rtnl_trylock some time ago to avoid a possible deadlock between rtnl and s_active on removal of the sysfs nodes. The behaviour introduced by that was quite confusing as it could lead to the sysfs store to fail, making batman-adv setup scripts unreliable. As recently the sysfs removal was postponed to a worker not running with the rtnl taken, the deadlock can't occur any more and it is safe to change the trylock back to a lock to make the sysfs store reliable again. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'Documentation/lockup-watchdogs.txt')
0 files changed, 0 insertions, 0 deletions