ipvs: avoid netns exit crash on ip_vs_conn_drop_conntrack
authorJulian Anastasov <ja@ssi.bg>
Thu, 10 Jul 2014 06:24:01 +0000 (09:24 +0300)
committerSimon Horman <horms@verge.net.au>
Wed, 16 Jul 2014 00:39:28 +0000 (09:39 +0900)
commit2627b7e15c5064ddd5e578e4efd948d48d531a3f
tree44020620c8357f9dfd3b0e1ff2137e8af8a1ab58
parentce355e209feb030945dae4c358c02f29a84f3f8b
ipvs: avoid netns exit crash on ip_vs_conn_drop_conntrack

commit 8f4e0a18682d91 ("IPVS netns exit causes crash in conntrack")
added second ip_vs_conn_drop_conntrack call instead of just adding
the needed check. As result, the first call still can cause
crash on netns exit. Remove it.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_conn.c