diff options
| author | Fernando Fernandez Mancera <fmancera@suse.de> | 2025-10-24 17:54:39 +0200 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2025-10-29 14:47:59 +0100 |
| commit | 8d96dfdcabef00e28f0c851b1502adb679dfc6d9 (patch) | |
| tree | 0594169fc27f9bb3cdd8271ec32ea43fb008bc04 /tools/docs/parse-headers.py | |
| parent | 514f1dc8f2ca3101e04cdf452e53baca3a76e544 (diff) | |
netfilter: nft_connlimit: fix possible data race on connection count
nft_connlimit_eval() reads priv->list->count to check if the connection
limit has been exceeded. This value is being read without a lock and can
be modified by a different process. Use READ_ONCE() for correctness.
Fixes: df4a90250976 ("netfilter: nf_conncount: merge lookup and add functions")
Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions
