projects
/
wrapfs-5.3.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
770961c
)
Fix ipv6 double-sock-release with MSG_CONFIRM
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Thu, 20 Sep 2007 19:54:07 +0000
(12:54 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 26 Sep 2007 17:54:42 +0000
(10:54 -0700)
commit
3ef9d943d26dea764f4fecf3767001c90b778b0c
in mainline
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv6/raw.c
patch
|
blob
|
history
diff --git
a/net/ipv6/raw.c
b/net/ipv6/raw.c
index a58459a766849fe71e2fa4c08cb67dd65e78aa03..fc5cb83c0f4276d251ebaacc89da8bdbb3aa609c 100644
(file)
--- a/
net/ipv6/raw.c
+++ b/
net/ipv6/raw.c
@@
-858,11
+858,10
@@
static int rawv6_sendmsg(struct kiocb *iocb, struct sock *sk,
ip6_flush_pending_frames(sk);
else if (!(msg->msg_flags & MSG_MORE))
err = rawv6_push_pending_frames(sk, &fl, rp);
+ release_sock(sk);
}
done:
dst_release(dst);
- if (!inet->hdrincl)
- release_sock(sk);
out:
fl6_sock_release(flowlabel);
return err<0?err:len;