Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2005 05:00:41 +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 ipx_input.c ipx_pcb.c ipx_pcb.h
Message-ID:  <200501090500.j0950f7E040784@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2005-01-09 05:00:41 UTC

  FreeBSD src repository

  Modified files:
    sys/netipx           ipx_input.c ipx_pcb.c ipx_pcb.h 
  Log:
  Introduce a global mutex, ipxpcb_list_mtx, to protect the global
  IPX PCB lists.  Add macros to initialize, destroy, lock, unlock,
  and assert the mutex.  Initialize the mutex when IPX is started.
  
  Add per-IPX PCB mutexes, ipxp_mtx in struct ipxpcb, to protect
  per-PCB IPX/SPX state.  Add macros to initialize, destroy, lock,
  unlock, and assert the mutex.  Initialize the mutex when a new
  PCB is allocated; destroy it when the PCB is free'd.
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.44      +3 -0      src/sys/netipx/ipx_input.c
  1.42      +2 -0      src/sys/netipx/ipx_pcb.c
  1.23      +19 -1     src/sys/netipx/ipx_pcb.h



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