Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2008 09:54:57 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-stable@freebsd.org
Subject:   working around TOE bug
Message-ID:  <200808211354.m7LDsvse084114@lava.sentex.ca>

next in thread | raw e-mail | index | archive | help
I dont have too many production RELENG_7 boxes post TOE MFC, but on 
the ones I do, apart from applying

# diff -u src/sys/netinet/tcp_offload.c src/sys/netinet/tcp_offload.c.disable
--- src/sys/netinet/tcp_offload.c       2008-07-31 18:25:51.000000000 -0400
+++ src/sys/netinet/tcp_offload.c.disable       2008-08-21 
09:39:07.000000000 -0400
@@ -58,6 +58,8 @@
         struct rtentry *rt;
         int error;

+       return (EINVAL);
+
         /*
          * Look up the route used for the connection to
          * determine if it uses an interface capable of

is there a better way to disable it ? Does having it in cause any 
performance issues ?

         ---Mike

--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808211354.m7LDsvse084114>