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

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


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

commit 3ccf1aef3d74c4ceafea836142ea648559287896
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/3ccf1aef3d74c4ceafea836142ea648559287896


-- 
DragonFly BSD source repository



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