Message ID | 1331794575.2543.17.camel@edumazet-laptop |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
On Wed, Mar 14, 2012 at 11:56:15PM -0700, Eric Dumazet wrote: > > This machine is running an snmpd, for my mrtg setup, so the teardown of that > > service is probably what's triggering it. But I can start/stop it in a loop > > as much as I want without it happening, so maybe the kernel needs to accumulate > > some state from it for a while first ? > > > > Anyone have any ideas what's happening here ? > > Hmm, please try : Will do. Given I can't reproduce it quickly though, it might be a while before I can provide feedback on whether it does the trick :) thanks, Dave -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 8c2e3ab..22b7664 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -1077,7 +1077,7 @@ struct dst_entry *icmp6_dst_alloc(struct net_device *dev, struct net *net = dev_net(dev); if (unlikely(!idev)) - return NULL; + return ERR_PTR(-ENODEV); rt = ip6_dst_alloc(&net->ipv6.ip6_dst_ops, dev, 0); if (unlikely(!rt)) {