ipvs: Don't use current in proc_do_defense_mode
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 21 Sep 2015 18:01:39 +0000 (13:01 -0500)
committerSimon Horman <horms@verge.net.au>
Thu, 24 Sep 2015 00:34:33 +0000 (09:34 +0900)
commit717e917ddfa8db628041490eb44bce5815e947fd
tree1f2292bbfbae5799abd8d654dbb6bd25e02ff562
parent1daea8ed16ae3f949eb82893cd8656f3f08125eb
ipvs: Don't use current in proc_do_defense_mode

Instead store ipvs in extra2 so that proc_do_defense_mode can easily
find the ipvs that it's value is associated with.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_ctl.c