OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78b9104
)
[DCCP] ipv6: dccp_v6_send_response() has a DST leak too.
author
David S. Miller
<davem@sunset.davemloft.net>
Wed, 1 Feb 2006 01:53:37 +0000
(17:53 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Wed, 1 Feb 2006 01:53:37 +0000
(17:53 -0800)
It was copy&pasted from tcp_v6_send_synack() which has
a DST leak recently fixed by Eric W. Biederman.
So dccp_v6_send_response() needs the same fix too.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv6.c
patch
|
blob
|
history
diff --git
a/net/dccp/ipv6.c
b/net/dccp/ipv6.c
index
df07425
..
80c4d04
100644
(file)
--- a/
net/dccp/ipv6.c
+++ b/
net/dccp/ipv6.c
@@
-468,6
+468,7
@@
static int dccp_v6_send_response(struct sock *sk, struct request_sock *req,
done:
if (opt && opt != np->opt)
sock_kfree_s(sk, opt, opt->tot_len);
+ dst_release(dst);
return err;
}