Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2006 00:48:21 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netipx spx_usrreq.c
Message-ID:  <200603270048.k2R0mLvs064180@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2006-03-27 00:48:21 UTC

  FreeBSD src repository

  Modified files:
    sys/netipx           spx_usrreq.c 
  Log:
  In spx_output(), use M_DONTWAIT instead of M_TRYWAIT, as we hold the
  ipxpcb mutex.  Contrary to the comment, even in 4.x this was unsafe,
  as parallel use of the socket by another process would result in pcb
  corruption if the mbuf allocation slept.
  
  MFC after:      1 month
  
  Revision  Changes    Path
  1.82      +6 -5      src/sys/netipx/spx_usrreq.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603270048.k2R0mLvs064180>