From: ebiederm@xmission.com (Eric W. Biederman)
To: Linus Torvalds <torvalds@transmeta.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2.5.42 Allow building with CONFIG_NET=n
Date: 13 Oct 2002 12:04:29 -0600 [thread overview]
Message-ID: <m1n0pimd02.fsf@frodo.biederman.org> (raw)
This is a minimal patch that allows 2.5.42 to build when
you don't want networking support.
Eric
--- linux-2.5.42/net/socket.c Fri Oct 11 22:21:39 2002
+++ linux-2.5.42.eb1/net/socket.c Sun Oct 13 11:40:03 2002
@@ -691,6 +691,7 @@
unlock_kernel();
sock = SOCKET_I(inode);
+#ifdef CONFIG_NET
if (cmd >= SIOCDEVPRIVATE && cmd <= (SIOCDEVPRIVATE + 15)) {
err = dev_ioctl(cmd, (void *)arg);
} else
@@ -699,6 +700,7 @@
err = dev_ioctl(cmd, (void *)arg);
} else
#endif /* WIRELESS_EXT */
+#endif /* CONFIG_NET */
switch (cmd) {
case FIOSETOWN:
case SIOCSPGRP:
reply other threads:[~2002-10-13 17:59 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=m1n0pimd02.fsf@frodo.biederman.org \
--to=ebiederm@xmission.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