]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ipvs: properly dereference pe in ip_vs_add_service
authorChen Hanxiao <chenhx.fnst@fujitsu.com>
Thu, 27 Jun 2024 06:15:15 +0000 (14:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:44:22 +0000 (07:44 +0200)
commit211168339657f36f32fb597afd0e3ac82d726119
treee5d96ecf53cc4364beed2a2e3159112a61f464ec
parent22e9b83f0f33bc5a7a3181769d1dccbf021f5b04
ipvs: properly dereference pe in ip_vs_add_service

commit cbd070a4ae62f119058973f6d2c984e325bce6e7 upstream.

Use pe directly to resolve sparse warning:

  net/netfilter/ipvs/ip_vs_ctl.c:1471:27: warning: dereference of noderef expression

Fixes: 39b972231536 ("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>
Signed-off-by: Cliff Liu <donghua.liu@windriver.com>
Signed-off-by: He Zhe <Zhe.He@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/ipvs/ip_vs_ctl.c