看板 DFBSD_commit 關於我們 聯絡資訊
commit db190d5c850fbe0b4eddccd968f6732cbf2737cd Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Fri Jan 21 13:30:19 2011 +0800 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@ Summary of changes: sys/netinet/in_pcb.c | 43 ++++++++++++++++++++++++++++++++----------- sys/netinet/in_pcb.h | 4 +++- sys/netinet/udp_usrreq.c | 21 +++++++++++++++++++-- 3 files changed, 54 insertions(+), 14 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/db190d5c850fbe0b4eddccd968f6732cbf2737cd -- DragonFly BSD source repository