git: network - Fix MP races in udp6_input and inet6 in general

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Sep 18 16:31:46 PDT 2010


commit e475836d80f7cacab1d17f7bcfb939e0bbd91f75
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 18 16:29:03 2010 -0700

    network - Fix MP races in udp6_input and inet6 in general
    
    * Numerous appends to the so_rcv sockbuf needed to be protected
      by the so_rcv token.
    
    Reported-by: Peter Avalos <pavalos at crater.dragonflybsd.org>

Summary of changes:
 sys/netinet6/icmp6.c       |   31 ++++++++++++++++++++---------
 sys/netinet6/ip6_input.c   |    7 +++--
 sys/netinet6/ip6_mroute.c  |   11 ++++++---
 sys/netinet6/raw_ip6.c     |   36 ++++++++++++++++++++++++----------
 sys/netinet6/udp6_usrreq.c |   45 +++++++++++++++++++++++++++----------------
 5 files changed, 85 insertions(+), 45 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list