inpcb: Save UDP inpcb into temporary memory during in_pcblist
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 21 Jan 2011 05:30:19 +0000 (13:30 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 31 Jan 2011 01:46:08 +0000 (09:46 +0800)
commitdb190d5c850fbe0b4eddccd968f6732cbf2737cd
treedd7833b8e780c19e564a346af2b19846f9ad4a1e
parent17f6e9081e5ff30a046845b914f6d0ca40b75a23
inpcb: Save UDP inpcb into temporary memory during in_pcblist

The temorary memory is used later to do the SYSCTL_OUT without
the udbinfo serializer being held.  Mainly to avoid deadlock
triggered by holding serializer and copyout.

Reminded-by: dillon@
sys/netinet/in_pcb.c
sys/netinet/in_pcb.h
sys/netinet/udp_usrreq.c