]> git.hungrycats.org Git - linux/commitdiff
[IPV6]: Explicity set *dst to NULL at top of ip6_dst_lookup().
authorKrishna Kumar <krkumar@us.ibm.com>
Wed, 21 Jan 2004 14:18:33 +0000 (06:18 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 21 Jan 2004 14:18:33 +0000 (06:18 -0800)
net/ipv6/ip6_output.c

index 4c3189de22494a829b79a7a643a4e7e710497899..a4ca0dd0b40c6259f53f6ed08787e4399dc0840a 100644 (file)
@@ -725,6 +725,7 @@ int ip6_dst_lookup(struct sock *sk, struct dst_entry **dst, struct flowi *fl)
 {
        int err = 0;
 
+       *dst = NULL;
        if (sk) {
                struct ipv6_pinfo *np = inet6_sk(sk);