]> git.hungrycats.org Git - linux/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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 17 Jul 2024 21:38:17 +0000 (23:38 +0200)
commitcbd070a4ae62f119058973f6d2c984e325bce6e7
tree01d130d10fdbdf0f8ca12ae7ebbf2a094e92fce7
parent0935ee6032dfe68bd1f8ddf4c43b618d7beafc69
ipvs: properly dereference pe in ip_vs_add_service

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>
net/netfilter/ipvs/ip_vs_ctl.c