udp: pcb list/hashtable protection stage 1/2
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 23 Dec 2010 05:27:51 +0000 (13:27 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 31 Jan 2011 01:46:05 +0000 (09:46 +0800)
commit6003dd533305e8ffc36f120b5527ee6640c64fd0
tree7ff8e63e59dd649f741db235a5a635e940873e18
parenta91f9815c9eb424a4960bbd52fbbd85b7d27a510
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.
sys/netinet/udp_usrreq.c