Loading
ipvs: properly dereference pe in ip_vs_add_service
mainline inclusion from mainline-v6.11-rc1 commit cbd070a4ae62f119058973f6d2c984e325bce6e7 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAKQ7N CVE: CVE-2024-42322 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cbd070a4ae62f119058973f6d2c984e325bce6e7 ------------------------------------------- Use pe directly to resolve sparse warning: net/netfilter/ipvs/ip_vs_ctl.c:1471:27: warning: dereference of noderef expression Fixes: 39b97223 ("ipvs: handle connections started by real-servers") Signed-off-by:Chen Hanxiao <chenhx.fnst@fujitsu.com> Acked-by:
Julian Anastasov <ja@ssi.bg> Acked-by:
Simon Horman <horms@kernel.org> Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org> Conflicts: net/netfilter/ipvs/ip_vs_ctl.c [The conflict occurs because the commit 705dd344("ipvs: use kthreads for stats estimation") is not merged] Signed-off-by:
Zhengchao Shao <shaozhengchao@huawei.com>