projects
/
openwrt
/
staging
/
blogic.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 df074259f9c3100581f649499dac1ae5554d1770..80c4d048869e10e2880b5dff67ea22ccd1d0e8f6 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;
}