--- /usr/src/linux/include/net/inet_ecn.h	Sat Nov  3 23:50:06 2001
+++ inet_ecn.h	Sun Dec  2 13:15:57 2001
@@ -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
--
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/