mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tomas Szepe <szepe@pinerecords.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] fix 2.5 compiles w/o tcp/ip
Date: Fri, 3 Jan 2003 13:27:44 +0100	[thread overview]
Message-ID: <20030103122744.GB1360@louise.pinerecords.com> (raw)

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 "

                 reply	other threads:[~2003-01-03 12:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030103122744.GB1360@louise.pinerecords.com \
    --to=szepe@pinerecords.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®