Re: [PATCH nf] netfilter: nf_tables: adjust lockdep assertions handling

From: Florian Westphal
Date: Tue Jun 24 2025 - 07:42:09 EST


Fedor Pchelkin <pchelkin@xxxxxxxxx> wrote:
> 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.

Acked-by: Florian Westphal <fw@xxxxxxxxx>