From: Nicolas DICHTEL Date: Mon, 13 Feb 2006 23:56:13 +0000 (-0800) Subject: [IPV6] Don't store dst_entry for RAW socket X-Git-Tag: v2.6.16-rc4~106 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d3e85ecf22a5e3610df47b9c3fb2fc32cfd35bf;p=linux-2.6 [IPV6] Don't store dst_entry for RAW socket Signed-off-by: Nicolas DICHTEL Signed-off-by: David S. Miller --- diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 738376cf0c..ae20a0ec9b 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);