diff options
Diffstat (limited to 'net/ipv6/ipv6_sockglue.c')
-rw-r--r-- | net/ipv6/ipv6_sockglue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/ipv6_sockglue.c b/net/ipv6/ipv6_sockglue.c index 8c5f80fd03ad..20fece4ad3d8 100644 --- a/net/ipv6/ipv6_sockglue.c +++ b/net/ipv6/ipv6_sockglue.c | |||
@@ -1128,9 +1128,10 @@ int compat_ipv6_getsockopt(struct sock *sk, int level, int optname, | |||
1128 | EXPORT_SYMBOL(compat_ipv6_getsockopt); | 1128 | EXPORT_SYMBOL(compat_ipv6_getsockopt); |
1129 | #endif | 1129 | #endif |
1130 | 1130 | ||
1131 | void __init ipv6_packet_init(void) | 1131 | int __init ipv6_packet_init(void) |
1132 | { | 1132 | { |
1133 | dev_add_pack(&ipv6_packet_type); | 1133 | dev_add_pack(&ipv6_packet_type); |
1134 | return 0; | ||
1134 | } | 1135 | } |
1135 | 1136 | ||
1136 | void ipv6_packet_cleanup(void) | 1137 | void ipv6_packet_cleanup(void) |