]> git.baikalelectronics.ru Git - kernel.git/commit
irda: Fix lockdep annotations in hashbin_delete().
authorDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 21:19:39 +0000 (16:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 21:19:39 +0000 (16:19 -0500)
commit3f239aa1acf0606eda350ce75ca0e285d02791e1
tree1e04c243957386fbd888c5accf4e88e7cc50bf78
parent4366d5442c71b1233e90380746aa96b1e248715a
irda: Fix lockdep annotations in hashbin_delete().

A nested lock depth was added to the hasbin_delete() code but it
doesn't actually work some well and results in tons of lockdep splats.

Fix the code instead to properly drop the lock around the operation
and just keep peeking the head of the hashbin queue.

Reported-by: Dmitry Vyukov <dvyukov@google.com>
Tested-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irqueue.c