git: network - Fix tcp inpcb race

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Sep 11 13:42:02 PDT 2010


commit 85095f20eecbc0223d704b1eb55a18711837b014
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 11 13:37:21 2010 -0700

    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 at evilcode.net>

Summary of changes:
 sys/netinet/tcp_subr.c |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/85095f20eecbc0223d704b1eb55a18711837b014


-- 
DragonFly BSD source repository





More information about the Commits mailing list