git: tcp: Make listen(2) socket close(2) MPSAFE

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Jan 30 17:51:30 PST 2011


commit ce6f0462a237160626ebf5cc25f2d792b941b905
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Jan 24 15:52:45 2011 +0800

    tcp: Make listen(2) socket close(2) MPSAFE
    
    - Cleanup the syncache entries on each CPU for this inp.
    - Before whacking the inp, we unhook the inp wildcard hash and cleanup
      its syncache entries by using a synchronized message.
    - Fix up comment.
    
    Reported-by: pavalos@
    DragonFly-bug: http://bugs.dragonflybsd.org/issue1960

Summary of changes:
 sys/netinet/tcp_subr.c |  127 ++++++++++++++++++++----------------------------
 1 files changed, 53 insertions(+), 74 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ce6f0462a237160626ebf5cc25f2d792b941b905


-- 
DragonFly BSD source repository





More information about the Commits mailing list