Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 18:48:50 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet ip_encap.c
Message-ID:  <200403100248.i2A2mo8F098048@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2004/03/09 18:48:50 PST

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_encap.c 
  Log:
  Lock down IP-layer encapsulation library:
  
   - Add encapmtx to protect ip_encap.c global variables (encapsulation
     list).
   - Unifdef #ifdef 0 pieces of encap_init() which was (and now really
     is) basically a no-op.
   - Lock encapmtx when walking encaptab, modifying it, comparing
     entries, etc.
   - Remove spl's.
  
  Note that currently there's no facilite to make sure outstanding
  use of encapsulation methods on a table entry have drained bfore
  we allow a table entry to be removed.  As such, it's currently the
  caller's responsibility to make sure that draining takes place.
  
  Reviewed by:    mlaier
  
  Revision  Changes    Path
  1.19      +35 -51    src/sys/netinet/ip_encap.c



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