Re: 2.5.33 compile error in ipv6

From: David S. Miller (davem@redhat.com)
Date: Mon Sep 02 2002 - 18:25:42 EST


   From: Clemens Schwaighofer <cs@pixelwings.com>
   Date: Mon, 2 Sep 2002 13:06:13 +0200 (CEST)
   
   I saw no patch in ML yet for this ...

Actually, there was, lines 666 and 667 of net/ipv6/af_inet6.c
should read:

                printk(KERN_CRIT "%s: Can't create protocol sock SLAB "
                       "caches!\n", __FUNCTION__);

Here is the patch against 2.5.33 that James Morris posted.

diff -Nru a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
--- a/net/ipv6/af_inet6.c Mon Sep 2 16:28:13 2002
+++ b/net/ipv6/af_inet6.c Mon Sep 2 16:28:13 2002
@@ -663,8 +663,8 @@
                                           sizeof(struct raw6_sock), 0,
                                            SLAB_HWCACHE_ALIGN, 0, 0);
         if (!tcp6_sk_cachep || !udp6_sk_cachep || !raw6_sk_cachep)
- printk(KERN_CRIT __FUNCTION__
- ": Can't create protocol sock SLAB caches!\n");
+ printk(KERN_CRIT "%s: Can't create protocol sock SLAB "
+ "caches!\n", __FUNCTION__);

        /* Register the socket-side information for inet6_create. */
        for(r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r)
-
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 Sep 07 2002 - 22:00:16 EST