diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-01-31 17:53:37 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-31 17:53:37 -0800 |
commit | 0cbd782507c502428c8ab3e91bee3940c19ac4d4 (patch) | |
tree | d0b4fc5e87810daa323d5dbdac147305b8ce026c /net/dccp/ipv6.c | |
parent | 78b910429e2c037533d2a7bd9e95b4f94f905ef8 (diff) | |
download | linux-0cbd782507c502428c8ab3e91bee3940c19ac4d4.tar.bz2 |
[DCCP] ipv6: dccp_v6_send_response() has a DST leak too.
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>
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r-- | net/dccp/ipv6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index df074259f9c3..80c4d048869e 100644 --- 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; } |