| Submitter | Eric Dumazet |
|---|---|
| Date | March 15, 2012, 6:56 a.m. |
| Message ID | <1331794575.2543.17.camel@edumazet-laptop> |
| Download | mbox | patch |
| Permalink | /patch/146843/ |
| State | RFC |
| Delegated to: | David Miller |
| Headers | show |
Comments
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
Patch
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)) {