Commit 57f6e974 authored by David S. Miller's avatar David S. Miller

[NETFILTER IPV6]: Fix route leak in ip6_route_me_harder.

parent c4d89c66
...@@ -154,6 +154,7 @@ int ip6_route_me_harder(struct sk_buff *skb) ...@@ -154,6 +154,7 @@ int ip6_route_me_harder(struct sk_buff *skb)
if (dst->error) { if (dst->error) {
if (net_ratelimit()) if (net_ratelimit())
printk(KERN_DEBUG "ip6_route_me_harder: No more route.\n"); printk(KERN_DEBUG "ip6_route_me_harder: No more route.\n");
dst_release(dst);
return -EINVAL; return -EINVAL;
} }
......
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