working around TOE bug

Mike Tancsa mike at sentex.net
Thu Aug 21 13:55:04 UTC 2008


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 at sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike



More information about the freebsd-stable mailing list