cvs commit: src/sys/netipx spx_usrreq.c

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Sun, 2 Jan 2005 15:33:13 +0000 (UTC)
rwatson     2005-01-02 15:33:13 UTC

  FreeBSD src repository

  Modified files:
    sys/netipx           spx_usrreq.c 
  Log:
  Explicitly lock the send socket buffer in spx_reass() to cover the drop
  record loop for ACK'd data, rather than relying on lokcing in
  sbdroprecord() and sowwakeup(), reducing the number of lock operations
  as well as eliminating a possible race against the head of the send
  buffer mbuf chain.  Use the _locked variants of sbdroprecord() and
  sowwakeup().
  
  Revision  Changes    Path
  1.56      +3 -2      src/sys/netipx/spx_usrreq.c
Received on Sun Jan 02 2005 - 15:33:14 UTC