lkml.org 
[lkml]   [2002]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] error compiling v2.5.45 using xtreme minimal .config
Hi all,


this patch fixes the problem described in my earlier email.
kernel-v2.5.45 failed to build if configured without networking support.

--- /usr/src/linux-2.5.45/net/socket.c Mon Nov 4 12:12:19 2002
+++ linux-2.5.45/net/socket.c Mon Nov 4 15:49:12 2002
@@ -74,7 +74,6 @@
#include <linux/cache.h>
#include <linux/module.h>
#include <linux/highmem.h>
-#include <linux/wireless.h>
#include <linux/divert.h>

#if defined(CONFIG_KMOD) && defined(CONFIG_NET)
--- /usr/src/linux-2.5.45/net/core/skbuff.c Mon Nov 4 12:12:19 2002
+++ linux-2.5.45/net/core/skbuff.c Mon Nov 4 15:36:49 2002
@@ -324,7 +324,12 @@
}

dst_release(skb->dst);
+#ifdef CONFIG_INET
secpath_put(skb->sp);
+#else
+ if (skb->sp)
+ atomic_dec(&skb->sp->refcnt);
+#endif
if(skb->destructor) {
if (in_irq())
printk(KERN_WARNING "Warning: kfree_skb on "

Best regards,
>> S. Effendi

[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.061 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site