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

git: ip/udp: Make input source address and source port saving MPSAFE


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 May 2013 00:30:15 -0700 (PDT)

commit c77e888b82a328b5c1339b4a7632a07eda3b8505
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Thu May 23 15:29:24 2013 +0800

    ip/udp: Make input source address and source port saving MPSAFE
    
    Change the global variable udp_in, udp_in6 and udp_ip6 into stack variable
    and passing them around.  This should unbreak applications which depend
    on received datagrams' source address or source port.

Summary of changes:
 sys/netinet/udp_usrreq.c | 61 +++++++++++++++++++++++++++++++++---------------
 1 file changed, 42 insertions(+), 19 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c77e888b82a328b5c1339b4a7632a07eda3b8505


-- 
DragonFly BSD source repository



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