aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/raw.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-06-13 23:52:39 -0400
committerDavid S. Miller <davem@davemloft.net>2008-06-13 23:52:39 -0400
commit4ae127d1b6c71f9240dd4245f240e6dd8fc98014 (patch)
treeb7aa27b3e0c655f4613fe2146cb57d7f69e421f6 /net/ipv6/raw.c
parent875ec4333b99144e2589e900a0bcd2c25c757b27 (diff)
parent7775c9753b94fe429dc4323360d6502c95e0dd6e (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/smc911x.c
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r--net/ipv6/raw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c
index e03c1898ab2e..70a57e45bf0e 100644
--- a/net/ipv6/raw.c
+++ b/net/ipv6/raw.c
@@ -1167,7 +1167,8 @@ static int raw6_destroy(struct sock *sk)
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 return 0; 1170
1171 return inet6_destroy_sock(sk);
1171} 1172}
1172 1173
1173static int rawv6_init_sk(struct sock *sk) 1174static int rawv6_init_sk(struct sock *sk)
@@ -1198,7 +1199,6 @@ struct proto rawv6_prot = {
1198 .disconnect = udp_disconnect, 1199 .disconnect = udp_disconnect,
1199 .ioctl = rawv6_ioctl, 1200 .ioctl = rawv6_ioctl,
1200 .init = rawv6_init_sk, 1201 .init = rawv6_init_sk,
1201 .destroy = inet6_destroy_sock,
1202 .setsockopt = rawv6_setsockopt, 1202 .setsockopt = rawv6_setsockopt,
1203 .getsockopt = rawv6_getsockopt, 1203 .getsockopt = rawv6_getsockopt,
1204 .sendmsg = rawv6_sendmsg, 1204 .sendmsg = rawv6_sendmsg,