network - Fix tcp inpcb race
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Sep 2010 20:37:21 +0000 (13:37 -0700)
committerMatthew Dillon <dillon@laptop2.(none)>
Sat, 11 Sep 2010 20:40:33 +0000 (13:40 -0700)
commit85095f20eecbc0223d704b1eb55a18711837b014
tree0dbba657d844bd40abf0d383955bd11455f0a2a9
parentba379edb1cf37193ea6c6c84579e8db63026c4e2
network - Fix tcp inpcb race

* tcbinfo[cpu].porthashbase was being shared across all the cpus,
  creating MP races.  Change it so it isn't shared.

Reported-by: "Samuel J. Greear" <sjg@evilcode.net>
sys/netinet/tcp_subr.c