lkml.org 
[lkml]   [1997]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ok, final sockhash changes, new diff
   Date: Sat, 1 Mar 1997 21:27:30 -0800
From: Joe Fouche <jf@ugcs.caltech.edu>

For me, these patches pretty much disable TCP completely. Outgoing connections
hang and incoming connections are immediately reset. It's an otherwise vanilla
2.1.27 i486 configuration. Any ideas? More info on request :)

Ok, flame me for code and testing this all on a big endian machine.

In net/ipv4/tcp_ipv4.c in __tcp_v4_lookup() change

sk = tcp_established_hash[tcp_hashfn(daddr, dport, saddr, sport)];

to

sk = tcp_established_hash[tcp_hashfn(daddr, hnum, saddr, sport)];

Thanks to Eric Schenk for pointing this out to me. New patch out
tonight later on with some more enhancements.

---------------------------------------------////
Yow! 11.26 MB/s remote host TCP bandwidth & ////
199 usec remote TCP latency over 100Mb/s ////
ethernet. Beat that! ////
-----------------------------------------////__________ o
David S. Miller, davem@caip.rutgers.edu /_____________/ / // /_/ ><

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.016 / U:4.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site