]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IPVS: bug in ip_vs_ftp, same list heaad used in all netns.
authorHans Schillstrom <hans.schillstrom@ericsson.com>
Tue, 24 May 2011 12:11:05 +0000 (14:11 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 9 Jul 2011 06:14:53 +0000 (23:14 -0700)
commit335e781b640b24b9043319cbf5c8a131bee4d522
tree05449221c0b38a68ca1261d3402f86f6ad8ab561
parentea8427b46500a931847b9211f8302a3618b319d2
IPVS: bug in ip_vs_ftp, same list heaad used in all netns.

[ Upstream commit c74c0bfe0b61cf41a897c2444c038e0d3f600556 ]

When ip_vs was adapted to netns the ftp application was not adapted
in a correct way.
However this is a fix to avoid kernel errors. In the long term another solution
might be chosen.  I.e the ports that the ftp appl, uses should be per netns.

Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_ftp.c