lvs-devel
|
To: | Chen Hanxiao <chenhx.fnst@xxxxxxxxxxx> |
---|---|
Subject: | Re: [PATCH net-next] ipvs: properly dereference pe in ip_vs_add_service |
Cc: | Simon Horman <horms@xxxxxxxxxxxx>, 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: | Ratheesh Kannoth <rkannoth@xxxxxxxxxxx> |
Date: | Thu, 27 Jun 2024 10:37:50 +0530 |
On 2024-06-26 at 13:41:59, Chen Hanxiao (chenhx.fnst@xxxxxxxxxxx) wrote: > > diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c > index b6d0dcf3a5c3..925e2143ba15 100644 > --- a/net/netfilter/ipvs/ip_vs_ctl.c > +++ b/net/netfilter/ipvs/ip_vs_ctl.c > @@ -1369,7 +1369,7 @@ ip_vs_add_service(struct netns_ipvs *ipvs, struct > ip_vs_service_user_kern *u, > { > int ret = 0; > struct ip_vs_scheduler *sched = NULL; > - struct ip_vs_pe *pe = NULL; > + struct ip_vs_pe *pe = NULL, *tmp_pe = NULL; Reverse xmas tree. > struct ip_vs_service *svc = NULL; > int ret_hooks = -1; > > |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | 回复: [PATCH net-next] ipvs: properly dereference pe in ip_vs_add_service, Hanxiao Chen (Fujitsu) |
---|---|
Next by Date: | [PATCH net-next v2] ipvs: properly dereference pe in ip_vs_add_service, Chen Hanxiao |
Previous by Thread: | 回复: [PATCH net-next] ipvs: properly dereference pe in ip_vs_add_service, Hanxiao Chen (Fujitsu) |
Next by Thread: | [PATCH net-next v2] ipvs: properly dereference pe in ip_vs_add_service, Chen Hanxiao |
Indexes: | [Date] [Thread] [Top] [All Lists] |