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

git: udp: pcb list/hashtable protection stage 1/2


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

commit 6003dd533305e8ffc36f120b5527ee6640c64fd0
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Thu Dec 23 13:27:51 2010 +0800

    udp: pcb list/hashtable protection stage 1/2
    
    Use netisr barrier make sure that netisr will not iterating pcb list or
    hashtable when adding or removing pcb
    
    Add assertion that all UDP pru functions run in netisr0.

Summary of changes:
 sys/netinet/udp_usrreq.c |   71 ++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 68 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6003dd533305e8ffc36f120b5527ee6640c64fd0


-- 
DragonFly BSD source repository



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