What's new

System Log

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Jasso

Regular Contributor
Any idea what these entries mean, it goes on for around 5 minutes:

Aug 12 11:25:13 kernel: ICMPv6 ND: __ndisc_send() failed to allocate an skb.
Aug 12 11:25:49 kernel: ICMPv6 ND: __ndisc_send() failed to allocate an skb.
Aug 12 11:25:49 kernel: ICMPv6 ND: __ndisc_send() failed to allocate an skb.
Aug 12 11:25:50 kernel: ICMPv6 ND: __ndisc_send() failed to allocate an skb.
 
It's a debug warning... check your IPv6 config to the ISP, along with clients - some clients are better than others...

Code:
Print-out the error value when sock_alloc_send_skb() fails in
the IPv6 neighbor discovery code - can be useful for debugging.√


diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index e09f12e..1d13d99 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -465,8 +465,8 @@ struct sk_buff *ndisc_build_skb(struct net_device *dev,
                  1, &err);
    if (!skb) {
        ND_PRINTK0(KERN_ERR
-               "ICMPv6 ND: %s() failed to allocate an skb.\n",
-               __func__);
+               "ICMPv6 ND: %s() failed to allocate an skb, err=%d.\n",
+               __func__, err);
        return NULL;
    }

@@ -1562,8 +1562,8 @@ void ndisc_send_redirect(struct sk_buff *skb, struct neighbour *neigh,
                   1, &err);
    if (buff == NULL) {
        ND_PRINTK0(KERN_ERR
-               "ICMPv6 Redirect: %s() failed to allocate an skb.\n",
-               __func__);
+               "ICMPv6 Redirect: %s() failed to allocate an skb, err=%d.\n",
+               __func__, err);
        goto release;
    }
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top