Re: ipv6 activity causing system hang in kernel 2.4.4

From: David S. Miller (davem@redhat.com)
Date: Sat May 05 2001 - 19:29:37 EDT

  • Next message: David S. Miller: "Re: [PATCH] arp_filter patch for 2.4.4 kernel."

    Try this patch, posted the other day. I bet if you inspected,
    you'd find OOPSes in your logs:

    --- ../vanilla/linux/net/ipv6/ndisc.c Thu Apr 26 22:17:26 2001
    +++ net/ipv6/ndisc.c Fri May 4 18:44:54 2001
    @@ -394,7 +382,7 @@
             int send_llinfo;
     
             len = sizeof(struct icmp6hdr) + sizeof(struct in6_addr);
    - send_llinfo = dev->addr_len && ipv6_addr_type(saddr) != IPV6_ADDR_ANY;
    + send_llinfo = dev->addr_len && saddr && ipv6_addr_type(saddr) != IPV6_ADDR_ANY;
             if (send_llinfo)
                     len += NDISC_OPT_SPACE(dev->addr_len);
     
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat May 05 2001 - 19:32:14 EDT