mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix 2.5 compiles w/o tcp/ip
@ 2003-01-03 12:27 Tomas Szepe
  0 siblings, 0 replies; only message in thread
From: Tomas Szepe @ 2003-01-03 12:27 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: lkml

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.

-- 
Tomas Szepe <szepe@pinerecords.com>


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 "

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-03 12:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-03 12:27 [PATCH] fix 2.5 compiles w/o tcp/ip Tomas Szepe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®