DragonFly BSD
DragonFly commits List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 30 Jan 2011 17:50:29 -0800 (PST)

commit ce6f0462a237160626ebf5cc25f2d792b941b905
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]