Author: bz
Date: Thu Nov  6 10:35:46 2008
New Revision: 184715
URL: http://svn.freebsd.org/changeset/base/184715

Log:
  For now our LRO code (tcp_lro.c) only supports IPv4 properly thus
  only enable if INET is on.
  
  Reviewed by:  kmacy
  MFC after:    2 months

Modified:
  head/sys/dev/cxgb/cxgb_osdep.h

Modified: head/sys/dev/cxgb/cxgb_osdep.h
==============================================================================
--- head/sys/dev/cxgb/cxgb_osdep.h      Thu Nov  6 10:17:57 2008        
(r184714)
+++ head/sys/dev/cxgb/cxgb_osdep.h      Thu Nov  6 10:35:46 2008        
(r184715)
@@ -110,7 +110,10 @@ struct t3_mbuf_hdr {
 #endif
 
 #if __FreeBSD_version >= 701000
+#include "opt_inet.h"
+#ifdef INET
 #define LRO_SUPPORTED
+#endif
 #define TOE_SUPPORTED
 #endif
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to