Date: Wed, 20 Dec 2006 20:40:29 +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/security/mac mac_net.c Message-ID: <200612202040.kBKKeTYH089572@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-12-20 20:40:29 UTC
FreeBSD src repository
Modified files:
sys/security/mac mac_net.c
Log:
Externalize local stack copy of the ifnet label, rather than the copy on
the ifnet itself. The stack copy has been made while holding the mutex
protecting ifnet labels, so copying from the ifnet copy could result in
an inconsistent version being copied out.
Reported by: Todd.Miller@sparta.com
Obtained from: TrustedBSD Project
MFC after: 3 weeks
Revision Changes Path
1.121 +2 -2 src/sys/security/mac/mac_net.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612202040.kBKKeTYH089572>
