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

git: inpcb: Save UDP inpcb into temporary memory during in_pcblist


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

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



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