Re: ok, final sockhash changes, new diff

David S. Miller (
Sun, 2 Mar 1997 00:36:57 -0500

Date: Sat, 1 Mar 1997 21:27:30 -0800
From: Joe Fouche <>

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)];


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, /_____________/ / // /_/ ><