diff options
author | Hans Schillstrom <hans.schillstrom@ericsson.com> | 2012-04-26 07:47:44 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-08-07 00:32:16 +0100 |
commit | 29f163de8d5660ab388f97e47b9b1c75c87f9c6b (patch) | |
tree | d357ec3958407cab7518b272d9a0cfb6badfcf72 /include | |
parent | 001b7cc921ce608997f2796ecf95fe05b7288457 (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 416dcb081048..b8b2e50a40bc 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 * |