per-cpu tcbinfo[]s aren't ready for prime time yet. The tcbinfo is assigned
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 Apr 2004 17:47:01 +0000 (17:47 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 Apr 2004 17:47:01 +0000 (17:47 +0000)
commit6ca1a1cdaed859e3fbe2d1929ad38c0c470d9075
tree7e10ab5001ed5b850e4b0753d91cef38cfab7932
parent8611e04d8629c45b789eea1d726b5445b3a39242
per-cpu tcbinfo[]s aren't ready for prime time yet.  The tcbinfo is assigned
at tcp_attach time, but there is insufficient information available at this
time to select the hash table and the wrong one gets assigned N-1 out of N
times on MP systems (N = number of cpus), causing outgoing tcp connections
to fail.

An an option, TCP_DISTRIBUTED_TCBINFO, so MP-safe tcbinfo distribution can
continue to be developed without impacting users.
sys/conf/options
sys/netinet/tcp_input.c
sys/netinet/tcp_subr.c
sys/netinet/tcp_usrreq.c