aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorFedor Pchelkin <[email protected]>2025-06-24 11:12:15 +0000
committerPablo Neira Ayuso <[email protected]>2025-07-10 01:01:22 +0000
commit8df1b40de76979bb8e975201d07b71103d5de820 (patch)
treeb7c8aede44ceb259cbf7ae66bc1154bfb2e45eaf /tools/testing/selftests/net/lib/py/utils.py
parentnetfilter: nf_tables: Reintroduce shortened deletion notifications (diff)
downloadkernel-8df1b40de76979bb8e975201d07b71103d5de820.tar.gz
kernel-8df1b40de76979bb8e975201d07b71103d5de820.zip
netfilter: nf_tables: adjust lockdep assertions handling
It's needed to check the return value of lockdep_commit_lock_is_held(), otherwise there's no point in this assertion as it doesn't print any debug information on itself. Found by Linux Verification Center (linuxtesting.org) with Svace static analysis tool. Fixes: b04df3da1b5c ("netfilter: nf_tables: do not defer rule destruction via call_rcu") Reported-by: Alexey Khoroshilov <[email protected]> Signed-off-by: Fedor Pchelkin <[email protected]> Acked-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions