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

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


commit 6003dd533305e8ffc36f120b5527ee6640c64fd0
Author: Sepherosa Ziehau <sephe at 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





More information about the Commits mailing list