]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipvs: clear the nfct flag under lock
authorJulian Anastasov <ja@ssi.bg>
Wed, 22 Jul 2026 10:25:39 +0000 (13:25 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 23 Jul 2026 16:17:19 +0000 (18:17 +0200)
commitda7d894c41d5910daae2b8ffa024c52ff0a4df6a
tree2b6e2bfa8c479d2eb4a124431fe84aa0852b840f
parent342e24a339b90e8e339a0f8c151ca479b8565661
ipvs: clear the nfct flag under lock

Sashiko warns that cp->flags should be changed under cp->lock

Fixes: 35dfb013149f ("ipvs: queue delayed work to expire no destination connections if expire_nodest_conn=1")
Fixes: f0a5e4d7a594 ("ipvs: allow connection reuse for unconfirmed conntrack")
Link: https://sashiko.dev/#/patchset/CALMqdkR704S2BG_QD_bgHTFp2%2B1QCi7n0T4zoZyTo8mDZevYSA%40mail.gmail.com
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/ip_vs_core.c