Date: Thu, 27 Mar 2008 18:02:30 +0000 (UTC) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if.h Message-ID: <200803271802.m2RI2Ugq029561@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2008-03-27 18:02:30 UTC
FreeBSD src repository
Modified files:
sys/net if.h
Log:
Add IFF_NEEDSGIANT to IFF_CANTCHANGE, to prevent user-level code
from clearing the IFF_NEEDSGIANT flag on Giant-locked interfaces.
In particular, wpa_supplicant was doing this on USB interfaces,
causing panics when Giant-locked code was then called without Giant.
Submitted by: Alexey Popov
Reviewed by: rwatson
MFC after: 3 days
Revision Changes Path
1.113 +2 -1 src/sys/net/if.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803271802.m2RI2Ugq029561>
