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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu May 23 00:33:36 PDT 2013


commit 3ccf1aef3d74c4ceafea836142ea648559287896
Author: Sepherosa Ziehau <sephe at 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


More information about the Commits mailing list