cvs commit: src/sys/netinet6 udp6_usrreq.c

Robert Watson rwatson at FreeBSD.org
Mon Sep 22 06:44:15 UTC 2008


rwatson     2008-09-22 06:44:03 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet6         udp6_usrreq.c 
  Log:
  SVN rev 183265 on 2008-09-22 06:44:03Z by rwatson
  
  When invoking the udp_send() from udp6_send() due to use of a v6-mapped
  IPv4 address, first drop the udbinfo and inpcb locks, which will otherwise
  be recursed.  This leads to a potential minor race, but is preferable to a
  deadlock when acquiring a read lock after a write lock on the inpcb.
  
  MFC after:      3 days
  Reported by:    Norbert Papke <fbsd-ml at scrapper.ca>, lioux
  
  Revision  Changes    Path
  1.94      +13 -3     src/sys/netinet6/udp6_usrreq.c


More information about the cvs-all mailing list