diff options
-rw-r--r-- | include/linux/icmpv6.h | 2 | ||||
-rw-r--r-- | include/net/icmp.h | 2 | ||||
-rw-r--r-- | include/net/ndisc.h | 4 | ||||
-rw-r--r-- | include/net/tcp.h | 2 | ||||
-rw-r--r-- | net/ipv4/af_inet.c | 4 | ||||
-rw-r--r-- | net/ipv4/icmp.c | 2 | ||||
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 | ||||
-rw-r--r-- | net/ipv6/af_inet6.c | 6 | ||||
-rw-r--r-- | net/ipv6/icmp.c | 2 | ||||
-rw-r--r-- | net/ipv6/mcast.c | 2 | ||||
-rw-r--r-- | net/ipv6/ndisc.c | 2 |
11 files changed, 15 insertions, 15 deletions
diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h index 7c5e9817e998..8f86d6b621c8 100644 --- a/include/linux/icmpv6.h +++ b/include/linux/icmpv6.h | |||
@@ -176,7 +176,7 @@ extern void icmpv6_send(struct sk_buff *skb, | |||
176 | __u32 info, | 176 | __u32 info, |
177 | struct net_device *dev); | 177 | struct net_device *dev); |
178 | 178 | ||
179 | extern int icmpv6_init(struct net_proto_family *ops); | 179 | extern int icmpv6_init(void); |
180 | extern int icmpv6_err_convert(int type, int code, | 180 | extern int icmpv6_err_convert(int type, int code, |
181 | int *err); | 181 | int *err); |
182 | extern void icmpv6_cleanup(void); | 182 | extern void icmpv6_cleanup(void); |
diff --git a/include/net/icmp.h b/include/net/icmp.h index 9f7ef3c8baef..7bf714d9d7c7 100644 --- a/include/net/icmp.h +++ b/include/net/icmp.h | |||
@@ -48,7 +48,7 @@ struct sk_buff; | |||
48 | extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info); | 48 | extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info); |
49 | extern int icmp_rcv(struct sk_buff *skb); | 49 | extern int icmp_rcv(struct sk_buff *skb); |
50 | extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg); | 50 | extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
51 | extern void icmp_init(struct net_proto_family *ops); | 51 | extern void icmp_init(void); |
52 | extern void icmp_out_count(unsigned char type); | 52 | extern void icmp_out_count(unsigned char type); |
53 | 53 | ||
54 | /* Move into dst.h ? */ | 54 | /* Move into dst.h ? */ |
diff --git a/include/net/ndisc.h b/include/net/ndisc.h index 59b70624b056..5aedf324de66 100644 --- a/include/net/ndisc.h +++ b/include/net/ndisc.h | |||
@@ -77,7 +77,7 @@ struct nd_opt_hdr { | |||
77 | } __attribute__((__packed__)); | 77 | } __attribute__((__packed__)); |
78 | 78 | ||
79 | 79 | ||
80 | extern int ndisc_init(struct net_proto_family *ops); | 80 | extern int ndisc_init(void); |
81 | 81 | ||
82 | extern void ndisc_cleanup(void); | 82 | extern void ndisc_cleanup(void); |
83 | 83 | ||
@@ -107,7 +107,7 @@ extern int ndisc_mc_map(struct in6_addr *addr, char *buf, struct net_device *d | |||
107 | /* | 107 | /* |
108 | * IGMP | 108 | * IGMP |
109 | */ | 109 | */ |
110 | extern int igmp6_init(struct net_proto_family *ops); | 110 | extern int igmp6_init(void); |
111 | 111 | ||
112 | extern void igmp6_cleanup(void); | 112 | extern void igmp6_cleanup(void); |
113 | 113 | ||
diff --git a/include/net/tcp.h b/include/net/tcp.h index 7de4ea3a04d9..ae9774b478f5 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1373,7 +1373,7 @@ struct tcp_request_sock_ops { | |||
1373 | #endif | 1373 | #endif |
1374 | }; | 1374 | }; |
1375 | 1375 | ||
1376 | extern void tcp_v4_init(struct net_proto_family *ops); | 1376 | extern void tcp_v4_init(void); |
1377 | extern void tcp_init(void); | 1377 | extern void tcp_init(void); |
1378 | 1378 | ||
1379 | #endif /* _TCP_H */ | 1379 | #endif /* _TCP_H */ |
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index c270080f370e..a7a99ac856dc 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c | |||
@@ -1415,7 +1415,7 @@ static int __init inet_init(void) | |||
1415 | 1415 | ||
1416 | ip_init(); | 1416 | ip_init(); |
1417 | 1417 | ||
1418 | tcp_v4_init(&inet_family_ops); | 1418 | tcp_v4_init(); |
1419 | 1419 | ||
1420 | /* Setup TCP slab cache for open requests. */ | 1420 | /* Setup TCP slab cache for open requests. */ |
1421 | tcp_init(); | 1421 | tcp_init(); |
@@ -1430,7 +1430,7 @@ static int __init inet_init(void) | |||
1430 | * Set the ICMP layer up | 1430 | * Set the ICMP layer up |
1431 | */ | 1431 | */ |
1432 | 1432 | ||
1433 | icmp_init(&inet_family_ops); | 1433 | icmp_init(); |
1434 | 1434 | ||
1435 | /* | 1435 | /* |
1436 | * Initialise the multicast router | 1436 | * Initialise the multicast router |
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index a13c074dac09..98372db66c66 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c | |||
@@ -1139,7 +1139,7 @@ static const struct icmp_control icmp_pointers[NR_ICMP_TYPES + 1] = { | |||
1139 | }, | 1139 | }, |
1140 | }; | 1140 | }; |
1141 | 1141 | ||
1142 | void __init icmp_init(struct net_proto_family *ops) | 1142 | void __init icmp_init(void) |
1143 | { | 1143 | { |
1144 | struct inet_sock *inet; | 1144 | struct inet_sock *inet; |
1145 | int i; | 1145 | int i; |
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 00156bf421ca..256032a41069 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -2443,7 +2443,7 @@ struct proto tcp_prot = { | |||
2443 | REF_PROTO_INUSE(tcp) | 2443 | REF_PROTO_INUSE(tcp) |
2444 | }; | 2444 | }; |
2445 | 2445 | ||
2446 | void __init tcp_v4_init(struct net_proto_family *ops) | 2446 | void __init tcp_v4_init(void) |
2447 | { | 2447 | { |
2448 | if (inet_csk_ctl_sock_create(&tcp_socket, PF_INET, SOCK_RAW, | 2448 | if (inet_csk_ctl_sock_create(&tcp_socket, PF_INET, SOCK_RAW, |
2449 | IPPROTO_TCP) < 0) | 2449 | IPPROTO_TCP) < 0) |
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index f0aa97738746..9869f87243cf 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -808,13 +808,13 @@ static int __init inet6_init(void) | |||
808 | if (err) | 808 | if (err) |
809 | goto sysctl_fail; | 809 | goto sysctl_fail; |
810 | #endif | 810 | #endif |
811 | err = icmpv6_init(&inet6_family_ops); | 811 | err = icmpv6_init(); |
812 | if (err) | 812 | if (err) |
813 | goto icmp_fail; | 813 | goto icmp_fail; |
814 | err = ndisc_init(&inet6_family_ops); | 814 | err = ndisc_init(); |
815 | if (err) | 815 | if (err) |
816 | goto ndisc_fail; | 816 | goto ndisc_fail; |
817 | err = igmp6_init(&inet6_family_ops); | 817 | err = igmp6_init(); |
818 | if (err) | 818 | if (err) |
819 | goto igmp_fail; | 819 | goto igmp_fail; |
820 | err = ipv6_netfilter_init(); | 820 | err = ipv6_netfilter_init(); |
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 121d517bf91c..b9b13a77ba30 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c | |||
@@ -780,7 +780,7 @@ drop_no_count: | |||
780 | */ | 780 | */ |
781 | static struct lock_class_key icmpv6_socket_sk_dst_lock_key; | 781 | static struct lock_class_key icmpv6_socket_sk_dst_lock_key; |
782 | 782 | ||
783 | int __init icmpv6_init(struct net_proto_family *ops) | 783 | int __init icmpv6_init(void) |
784 | { | 784 | { |
785 | struct sock *sk; | 785 | struct sock *sk; |
786 | int err, i, j; | 786 | int err, i, j; |
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index ab228d1ea114..8ce894d90063 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c | |||
@@ -2597,7 +2597,7 @@ static const struct file_operations igmp6_mcf_seq_fops = { | |||
2597 | }; | 2597 | }; |
2598 | #endif | 2598 | #endif |
2599 | 2599 | ||
2600 | int __init igmp6_init(struct net_proto_family *ops) | 2600 | int __init igmp6_init(void) |
2601 | { | 2601 | { |
2602 | struct ipv6_pinfo *np; | 2602 | struct ipv6_pinfo *np; |
2603 | struct sock *sk; | 2603 | struct sock *sk; |
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 0d33a7d32125..1fc33c8c7232 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c | |||
@@ -1733,7 +1733,7 @@ static int ndisc_ifinfo_sysctl_strategy(ctl_table *ctl, int __user *name, | |||
1733 | 1733 | ||
1734 | #endif | 1734 | #endif |
1735 | 1735 | ||
1736 | int __init ndisc_init(struct net_proto_family *ops) | 1736 | int __init ndisc_init(void) |
1737 | { | 1737 | { |
1738 | struct ipv6_pinfo *np; | 1738 | struct ipv6_pinfo *np; |
1739 | struct sock *sk; | 1739 | struct sock *sk; |