Date: Wed, 28 Jun 2006 21:57:35 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_enc.c Message-ID: <200606282157.k5SLvZrk062374@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606282157.k5SLvZrk062374>
