]> git.baikalelectronics.ru Git - kernel.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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 27 May 2011 11:37:46 +0000 (13:37 +0200)
commit1539cee13f41904c857debabc18891d1e7e10c68
treeb8cbcf85abee59f44a6397db6ff3214c60f5c700
parent37aeb520072d91efe1fc8369649fa3d0e03bc1e9
IPVS: bug in ip_vs_ftp, same list heaad used in all netns.

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>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_ftp.c