Skip to contentSkip to conversation

fix 2.5 compiles w/o tcp/ip

PATCH New Tomas Szepe 1 participant 1 message Jan 3, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix 2.5 compiles w/o tcp/ip

Unix without TCP/IP is almost as gay as beer that comes in plastic bottles. However, it should still compile.

Patch against 2.5-bkcurrent.

Signature · 16 lines
Tomas Szepe <[email protected]>


diff -urN a/net/core/skbuff.c b/net/core/skbuff.c
--- a/net/core/skbuff.c	2002-10-31 02:34:00.000000000 +0100
+++ b/net/core/skbuff.c	2003-01-03 13:09:54.000000000 +0100
@@ -324,7 +324,9 @@
 	}
 
 	dst_release(skb->dst);
+#ifdef CONFIG_INET
 	secpath_put(skb->sp);
+#endif
 	if(skb->destructor) {
 		if (in_irq())
 			printk(KERN_WARNING "Warning: kfree_skb on "