Re: linux-next: Tree for Sept 4 (netdev)

3 messages, 3 authors, 2012-09-04 · open the first message on its own page

Re: linux-next: Tree for Sept 4 (netdev)

From: Randy Dunlap <hidden>
Date: 2012-09-04 17:24:43

On 09/04/2012 12:13 AM, Stephen Rothwell wrote:
Hi all,

Changes since 20120824:


when CONFIG_INET is not enabled:

net/built-in.o: In function `sock_edemux':
(.text+0x8ea1): undefined reference to `inet_twsk_put'

Full randconfig file is attached.

-- 
~Randy

[PATCH] net: don't allow INET to be not configured

From: Stephen Hemminger <hidden>
Date: 2012-09-04 17:45:22

There is no reason to expose turning off TCP/IP networking.
If networking is enabled force TCP/IP to enabled. This also
eliminates the time chasing down errors with bogus configurations
generated by 'make randconfig'

For testing, it is still possible to edit Kconfig

Signed-off-by: Stephen Hemminger <redacted>

--- a/net/Kconfig	2012-08-15 08:59:22.910704705 -0700
+++ b/net/Kconfig	2012-09-04 10:39:53.654585718 -0700
@@ -51,26 +51,7 @@ source "net/xfrm/Kconfig"
 source "net/iucv/Kconfig"
 
 config INET
-	bool "TCP/IP networking"
-	---help---
-	  These are the protocols used on the Internet and on most local
-	  Ethernets. It is highly recommended to say Y here (this will enlarge
-	  your kernel by about 400 KB), since some programs (e.g. the X window
-	  system) use TCP/IP even if your machine is not connected to any
-	  other computer. You will get the so-called loopback device which
-	  allows you to ping yourself (great fun, that!).
-
-	  For an excellent introduction to Linux networking, please read the
-	  Linux Networking HOWTO, available from
-	  <http://www.tldp.org/docs.html#howto>.
-
-	  If you say Y here and also to "/proc file system support" and
-	  "Sysctl support" below, you can change various aspects of the
-	  behavior of the TCP/IP code by writing to the (virtual) files in
-	  /proc/sys/net/ipv4/*; the options are explained in the file
-	  <file:Documentation/networking/ip-sysctl.txt>.
-
-	  Short answer: say Y.
+	def_bool y
 
 if INET
 source "net/ipv4/Kconfig"

Re: [PATCH] net: don't allow INET to be not configured

From: David Miller <davem@davemloft.net>
Date: 2012-09-04 18:07:07

From: Stephen Hemminger <redacted>
Date: Tue, 4 Sep 2012 10:44:51 -0700
There is no reason to expose turning off TCP/IP networking.
If networking is enabled force TCP/IP to enabled. This also
eliminates the time chasing down errors with bogus configurations
generated by 'make randconfig'

For testing, it is still possible to edit Kconfig

Signed-off-by: Stephen Hemminger <redacted>
People have legitimate reasons to enable NET without INET, so let's
just fix the dependency bugs as they are reported.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help