Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2007-11-12 13:00:22 +0100
committerAdrian Bunk <bunk@kernel.org>2007-11-12 13:00:22 +0100
commit70b0f728caaf2c1987c45c7a2c985f7c333fe0d5 (patch)
tree94afe715bc3a6557754e4314fcdb8ca1f6329507
parentbdc864e5ae0a15bde369171960fb12ac6270271e (diff)
[IPV6]: Fix unbalanced socket reference with MSG_CONFIRM.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Adrian Bunk <bunk@kernel.org>
-rw-r--r--net/ipv6/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c
index 5babed88b08a..4c7920569081 100644
--- a/net/ipv6/raw.c
+++ b/net/ipv6/raw.c
@@ -801,10 +801,10 @@ back_from_confirm:
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);
- release_sock(sk);
out:
fl6_sock_release(flowlabel);
return err<0?err:len;