Files
linux-apfs/net/batman-adv
Sven Eckelmann c3caf5196c batman-adv: Remove unnecessary hardif_list_lock
hardif_list_lock is unneccessary because we already ensure that no
multiple admin operations can take place through rtnl_lock.
hardif_list_lock only adds additional overhead and complexity.

Critical functions now check whether they are called with rtnl_lock
using ASSERT_RTNL.

It indirectly fixes the problem that orig_hash_del_if() expects that
only one interface is deleted from hardif_list at a time, but
hardif_remove_interfaces() removes all at once and then calls
orig_hash_del_if().

Reported-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2011-05-08 16:10:41 +02:00
..
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2010-12-16 13:44:24 -08:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00
2011-01-31 14:57:12 +01:00