android_kernel_xiaomi_sm8350/net/ipv4/ipvs
Julian Anastasov dc8103f25f [IPVS]: fix connection leak if expire_nodest_conn=1
There was a fix in 2.6.13 that changed the behaviour of
ip_vs_conn_expire_now function not to put reference to connection,
its callers should hold write lock or connection refcnt. But we
forgot to convert one caller, when the real server for connection
is unavailable caller should put the connection reference. It
happens only when sysctl var expire_nodest_conn is set to 1 and
such connections never expire. Thanks to Roberto Nibali who found
the problem and tested a 2.4.32-rc2 patch, which is equal to this
2.6 version. Patch for 2.4 is already sent to Marcelo.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Roberto Nibali <ratz@drugphish.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-11-08 09:40:05 -08:00
..
ip_vs_app.c [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
ip_vs_conn.c [IPVS]: ip_vs_ftp breaks connections using persistence 2005-09-14 21:08:51 -07:00
ip_vs_core.c [IPVS]: fix connection leak if expire_nodest_conn=1 2005-11-08 09:40:05 -08:00
ip_vs_ctl.c [IPVS]: ipv4_table --> ipvs_ipv4_table 2005-08-29 16:02:29 -07:00
ip_vs_dh.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_est.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_ftp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_lblc.c [IPVS]: ipv4_table --> ipvs_ipv4_table 2005-08-29 16:02:29 -07:00
ip_vs_lblcr.c [IPVS]: ipv4_table --> ipvs_ipv4_table 2005-08-29 16:02:29 -07:00
ip_vs_lc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_nq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_proto_ah.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_proto_esp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_proto_tcp.c [IPVS]: Rename tcp_{init,exit}() --> ip_vs_tcp_{init,exit}() 2005-08-29 16:01:47 -07:00
ip_vs_proto_udp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_proto.c [IPVS]: remove net/ipv4/ipvs/ip_vs_proto_icmp.c 2005-06-02 13:02:25 -07:00
ip_vs_rr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_sched.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_sed.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_sh.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_sync.c [IPVS]: ip_vs_ftp breaks connections using persistence 2005-09-14 21:08:51 -07:00
ip_vs_wlc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_wrr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ip_vs_xmit.c [NETFILTER]: reduce netfilter sk_buff enlargement 2005-08-29 15:31:04 -07:00
Kconfig [NET]: move config options out to individual protocols 2005-07-11 21:13:56 -07:00
Makefile [IPVS]: remove net/ipv4/ipvs/ip_vs_proto_icmp.c 2005-06-02 13:02:25 -07:00