diff options
| author | Julian Anastasov <ja@ssi.bg> | 2026-11-02 10:07:28 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2026-11-16 01:40:30 +0100 |
| commit | aa9afc79f57ba5ef4385aa85cfb7dd50d5c484f6 (patch) | |
| tree | 0b228d1908fff4fcac0dfa2e44455e4f41fee279 /tools/perf/scripts/python | |
| parent | f3aff3d80b5793dbec1ad4081e2f3bb40aff5fd3 (diff) | |
ipvs: read flags and seqs in master atomically
After we fixed the double read of cp->flags in the master with
commit 3e3fe49e8678 ("ipvs: fix buffer overflow when sending sync messages")
Sashiko reports that we should also read the cp->flags and the seqs
atomically. So if the SEQ_MASK is set, re-read the flags and the
seqs under cp->lock to provide a snapshot when sending the sync
message.
Fixes: 3e3fe49e8678 ("ipvs: fix buffer overflow when sending sync messages")
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Link: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260927220816.268206-1-pablo%40netfilter.org
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
