inet_ecn.h [2.4.16/2.5.0]
PATCH 1/1 inet_ecn.h [2.4.16/2.5.0]
...the following allows to build a kernel without CONFIG_INET...
inet_ecn.h renamed from usr/src/linux/include/net/inet_ecn.h +5 -0
@@ -24,8 +24,13 @@return outer; } +#if defined(CONFIG_INET ) || defined (CONFIG_INET_MODULE )#define INET_ECN_xmit (sk) do { (sk)->protinfo.af_inet.tos |= 2; } while (0)#define INET_ECN_dontxmit (sk) do { (sk)->protinfo.af_inet.tos &= ~3; } while (0) +#else +#define INET_ECN_xmit (sk) +#define INET_ECN_dontxmit (sk) +#endif #define IP6_ECN_flow_init (label) do { \ (label) &= ~htonl(3<<20); \
regards,
hvr
--
From: Herbert Valerio Riedel <[email protected]>
Date: 02 Dec 2001 13:23:29 +0100
...the following allows to build a kernel without CONFIG_INET...
That's not the correct fix, the correct one has been sent to Marcelo. The net/core/*.c files are a little over agressive in including TCP/IP headers when they shouldn't.