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
This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:32 EST