Commit 77e54f16 authored by Krishna Kumar's avatar Krishna Kumar Committed by Linus Torvalds

[IPV6]: Explicity set *dst to NULL at top of ip6_dst_lookup().

parent 31b4b681
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment