]> git.ipfire.org Git - thirdparty/suricata.git/commit
nfq: suppress coverity thread warning 13519/head
authorVictor Julien <vjulien@oisf.net>
Sat, 21 Jun 2025 19:13:35 +0000 (21:13 +0200)
committerVictor Julien <vjulien@oisf.net>
Sun, 22 Jun 2025 18:23:21 +0000 (20:23 +0200)
commitba4d4f8694e670d89c6cac6b0f996f6eeb282e34
tree2f918e17514c145b3db9115e85edac5f68180065
parent7f5d1f4c792158a386913bf5584c3b2bb4d95e26
nfq: suppress coverity thread warning

CID 1593187: (#1 of 1): Data race condition (MISSING_LOCK)
2. missing_lock: Accessing (*p).nfq_v.mark without holding lock Packet_.persistent.tunnel_lock. Elsewhere, NFQPacketVars_.mark is written to with Packet_.persistent.tunnel_lock held 2 out of 5 times (2 of these accesses strongly imply that it is necessary).

No concurrency happening on non-tunnel packet, so no locking needed.
src/source-nfq.c