cvs commit: src/sys/net if_enc.c

Andrew Thompson thompsa at FreeBSD.org
Wed Jun 28 21:57:36 UTC 2006


thompsa     2006-06-28 21:57:35 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_enc.c 
  Log:
  A small race existed where the lock was dropped between when encif was
  tested and then set. [1]
  
  Reorganise things to eliminate this, we now ensure that enc0 can not be
  destroyed which as the benefit of no longer needing to lock in
  ipsec_filter and ipsec_bpf. The cloner will create one interface during the
  init so we can guarantee that encif will be valid before any SPD entries are
  added to ipsec.
  
  Spotted by:     glebius [1]
  
  Revision  Changes    Path
  1.3       +20 -24    src/sys/net/if_enc.c


More information about the cvs-src mailing list