netfilter: seqadj: do not take ct lock if seqadj is NULL

This is a small optimization, only take ct lock if seqadj is present. In
the unlikely case seqadj isn't present we can return immediately. This
is consistent with the behavior of other functions that checks seqadj.

Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
Fernando Fernandez Mancera 2026-08-19 12:24:07 +02:00 • committed by Pablo Neira Ayuso
commit 1b9c4f3f9c