On 19/12/15 17:32, Sven Eckelmann wrote: > On Saturday 19 December 2015 09:04:05 Linus Lüssing wrote: >>> From: Simon Wunderlich >>> >>> While testing, we got something like this: >>> >>> WARNING: CPU: 0 PID: 238 at net/batman-adv/multicast.c:142 batadv_mcast_mla_tt_retract+0x94/0x205 [batman_adv]() >>> [...] >>> Call Trace: >>> [] dump_stack+0x4b/0x64 >>> [] warn_slowpath_common+0xbc/0x120 >>> [] ? batadv_mcast_mla_tt_retract+0x94/0x205 [batman_adv] >>> [] warn_slowpath_null+0x15/0x20 >>> [] batadv_mcast_mla_tt_retract+0x94/0x205 [batman_adv] >>> [] batadv_mcast_free+0x36/0x39 [batman_adv] >>> [] batadv_mesh_free+0x7d/0x13f [batman_adv] >>> [] batadv_softif_free+0x15/0x25 [batman_adv] >>> [...] >>> >>> Signed-off-by: Simon Wunderlich >> >> Fixes: 5b95c427d187 ("batman-adv: Annotate deleting functions with external lock via lockdep") >> Acked-by: Linus Lüssing > > I am confused why this should fix a commit which is there to find such problems. Am I wrong or also the commit message is misleading? Looks like it is "fixing" a bogus lockdep check...but as far as I can say this patch is making sure that the lock is held in that particular point. If we want to "fix the lockdep" then we should remove the lockdep_assert_held(), but I don't think this is the goal of the whole discussion. Cheers, -- Antonio Quartulli