aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHans Schillstrom <hans.schillstrom@ericsson.com>2012-04-26 07:47:44 +0200
committerBen Hutchings <ben@decadent.org.uk>2015-08-07 00:32:16 +0100
commit29f163de8d5660ab388f97e47b9b1c75c87f9c6b (patch)
treed357ec3958407cab7518b272d9a0cfb6badfcf72 /include
parent001b7cc921ce608997f2796ecf95fe05b7288457 (diff)
downloadkernel_samsung_smdk4412-29f163de8d5660ab388f97e47b9b1c75c87f9c6b.zip
kernel_samsung_smdk4412-29f163de8d5660ab388f97e47b9b1c75c87f9c6b.tar.gz
kernel_samsung_smdk4412-29f163de8d5660ab388f97e47b9b1c75c87f9c6b.tar.bz2
ipvs: kernel oops - do_ip_vs_get_ctl
commit 8537de8a7ab6681cc72fb0411ab1ba7fdba62dd0 upstream. Change order of init so netns init is ready when register ioctl and netlink. Ver2 Whitespace fixes and __init added. Reported-by: "Ryan O'Hara" <rohara@redhat.com> Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Cc: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'include')
-rw-r--r--include/net/ip_vs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 416dcb0..b8b2e50 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -1202,6 +1202,8 @@ ip_vs_lookup_real_service(struct net *net, int af, __u16 protocol,
extern int ip_vs_use_count_inc(void);
extern void ip_vs_use_count_dec(void);
+extern int ip_vs_register_nl_ioctl(void);
+extern void ip_vs_unregister_nl_ioctl(void);
extern int ip_vs_control_init(void);
extern void ip_vs_control_cleanup(void);
extern struct ip_vs_dest *