cvs commit: src/sys/netipx spx_usrreq.c

Robert Watson rwatson at
Mon Mar 27 00:48:22 UTC 2006

rwatson     2006-03-27 00:48:21 UTC

  FreeBSD src repository

  Modified files:
    sys/netipx           spx_usrreq.c 
  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

More information about the cvs-src mailing list