diff options
author | Lance Roy <ldr709@gmail.com> | 2018-10-02 22:39:00 -0700 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-10-16 10:01:47 +0200 |
commit | 4b87dd54be21ad611a1c740f9df0c4376d496e09 (patch) | |
tree | cadd314a387840aea9880cf07d964f686d601f9f /scripts | |
parent | b187191577629b5358acf4e234809ee8d441ceb4 (diff) | |
download | linux-4b87dd54be21ad611a1c740f9df0c4376d496e09.tar.gz linux-4b87dd54be21ad611a1c740f9df0c4376d496e09.tar.bz2 linux-4b87dd54be21ad611a1c740f9df0c4376d496e09.zip |
netfilter: Replace spin_is_locked() with lockdep
lockdep_assert_held() is better suited to checking locking requirements,
since it won't get confused when someone else holds the lock. This is
also a step towards possibly removing spin_is_locked().
Signed-off-by: Lance Roy <ldr709@gmail.com>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: Florian Westphal <fw@strlen.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: <netfilter-devel@vger.kernel.org>
Cc: <coreteam@netfilter.org>
Cc: <netdev@vger.kernel.org>
Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions