linux-stable-rt/net/netfilter/ipvs
Hans Schillstrom 8f4e0a1868 IPVS netns exit causes crash in conntrack
Quote from Patric Mc Hardy
"This looks like nfnetlink.c excited and destroyed the nfnl socket, but
ip_vs was still holding a reference to a conntrack. When the conntrack
got destroyed it created a ctnetlink event, causing an oops in
netlink_has_listeners when trying to use the destroyed nfnetlink
socket."

If nf_conntrack_netlink is loaded before ip_vs this is not a problem.

This patch simply avoids calling ip_vs_conn_drop_conntrack()
when netns is dying as suggested by Julian.

Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
2011-06-13 17:41:47 +09:00
..
Kconfig
Makefile
ip_vs_app.c IPVS: fix netns if reading ip_vs_* procfs entries 2011-05-15 17:27:18 +02:00
ip_vs_conn.c IPVS netns exit causes crash in conntrack 2011-06-13 17:41:47 +09:00
ip_vs_core.c IPVS netns exit causes crash in conntrack 2011-06-13 17:41:47 +09:00
ip_vs_ctl.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-05-17 17:33:11 -04:00
ip_vs_dh.c
ip_vs_est.c IPVS: init and cleanup restructuring 2011-05-10 09:52:47 +02:00
ip_vs_ftp.c IPVS: bug in ip_vs_ftp, same list heaad used in all netns. 2011-05-27 13:37:46 +02:00
ip_vs_lblc.c
ip_vs_lblcr.c
ip_vs_lc.c
ip_vs_nfct.c
ip_vs_nq.c
ip_vs_pe.c
ip_vs_pe_sip.c
ip_vs_proto.c IPVS: init and cleanup restructuring 2011-05-10 09:52:47 +02:00
ip_vs_proto_ah_esp.c
ip_vs_proto_sctp.c
ip_vs_proto_tcp.c
ip_vs_proto_udp.c
ip_vs_rr.c
ip_vs_sched.c
ip_vs_sed.c
ip_vs_sh.c
ip_vs_sync.c IPVS: init and cleanup restructuring 2011-05-10 09:52:47 +02:00
ip_vs_wlc.c
ip_vs_wrr.c
ip_vs_xmit.c ipvs: Remove all remaining references to rt->rt_{src,dst} 2011-05-12 18:24:46 -04:00