LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH net-next v2] ipvs: properly dereference pe in ip_vs_add_servi

To: Chen Hanxiao <chenhx.fnst@xxxxxxxxxxx>
Subject: Re: [PATCH net-next v2] ipvs: properly dereference pe in ip_vs_add_service
Cc: Julian Anastasov <ja@xxxxxx>, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>, Jozsef Kadlecsik <kadlec@xxxxxxxxxxxxx>, "David S . Miller" <davem@xxxxxxxxxxxxx>, Eric Dumazet <edumazet@xxxxxxxxxx>, Jakub Kicinski <kuba@xxxxxxxxxx>, Paolo Abeni <pabeni@xxxxxxxxxx>, netdev@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx
From: Simon Horman <horms@xxxxxxxxxx>
Date: Sun, 30 Jun 2024 14:16:20 +0100
On Thu, Jun 27, 2024 at 02:15:15PM +0800, Chen Hanxiao wrote:
> 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@xxxxxxxxxxx>

Acked-by: Simon Horman <horms@xxxxxxxxxx>



<Prev in Thread] Current Thread [Next in Thread>