]> err.no Git - linux-2.6/commitdiff
[IPV6] Don't store dst_entry for RAW socket
authorNicolas DICHTEL <nicolas.dichtel@6wind.com>
Mon, 13 Feb 2006 23:56:13 +0000 (15:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Feb 2006 23:56:13 +0000 (15:56 -0800)
Signed-off-by: Nicolas DICHTEL <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/raw.c

index 738376cf0c519cdcd3d5fbb832b525fe9a2d122d..ae20a0ec9bd8254f2e85d43fad57ac7ebafdd30a 100644 (file)
@@ -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);