aboutsummaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorNicolas DICHTEL <nicolas.dichtel@6wind.com>2006-02-13 15:56:13 -0800
committerDavid S. Miller <davem@davemloft.net>2006-02-13 15:56:13 -0800
commit6d3e85ecf22a5e3610df47b9c3fb2fc32cfd35bf (patch)
treed82d346f7b4c03f1e323cec0df8ee74052f0a31c /net/ipv6
parent72fb630dad170084026bda6728b8d8f21ed48ff1 (diff)
[IPV6] Don't store dst_entry for RAW socket
Signed-off-by: Nicolas DICHTEL <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/raw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c
index 738376cf0c5..ae20a0ec9bd 100644
--- a/net/ipv6/raw.c
+++ b/net/ipv6/raw.c
@@ -803,10 +803,7 @@ back_from_confirm:
err = rawv6_push_pending_frames(sk, &fl, rp);
}
done:
- ip6_dst_store(sk, dst,
- ipv6_addr_equal(&fl.fl6_dst, &np->daddr) ?
- &np->daddr : NULL);
-
+ dst_release(dst);
release_sock(sk);
out:
fl6_sock_release(flowlabel);