aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/raw.c')
-rw-r--r--net/ipv4/raw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index 1d0c97c8712d..36035a0c6dc2 100644
--- a/net/ipv4/raw.c
+++ b/net/ipv4/raw.c
@@ -606,12 +606,11 @@ static void raw_close(struct sock *sk, long timeout)
606 sk_common_release(sk); 606 sk_common_release(sk);
607} 607}
608 608
609static int raw_destroy(struct sock *sk) 609static void raw_destroy(struct sock *sk)
610{ 610{
611 lock_sock(sk); 611 lock_sock(sk);
612 ip_flush_pending_frames(sk); 612 ip_flush_pending_frames(sk);
613 release_sock(sk); 613 release_sock(sk);
614 return 0;
615} 614}
616 615
617/* This gets rid of all the nasties in af_inet. -DaveM */ 616/* This gets rid of all the nasties in af_inet. -DaveM */