diff options
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r-- | net/ipv6/raw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 70a57e45bf0e..456777d7a407 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -1162,13 +1162,13 @@ static void rawv6_close(struct sock *sk, long timeout) | |||
1162 | sk_common_release(sk); | 1162 | sk_common_release(sk); |
1163 | } | 1163 | } |
1164 | 1164 | ||
1165 | static int raw6_destroy(struct sock *sk) | 1165 | static void raw6_destroy(struct sock *sk) |
1166 | { | 1166 | { |
1167 | lock_sock(sk); | 1167 | lock_sock(sk); |
1168 | ip6_flush_pending_frames(sk); | 1168 | ip6_flush_pending_frames(sk); |
1169 | release_sock(sk); | 1169 | release_sock(sk); |
1170 | 1170 | ||
1171 | return inet6_destroy_sock(sk); | 1171 | inet6_destroy_sock(sk); |
1172 | } | 1172 | } |
1173 | 1173 | ||
1174 | static int rawv6_init_sk(struct sock *sk) | 1174 | static int rawv6_init_sk(struct sock *sk) |