diff options
author | iedowse <iedowse@FreeBSD.org> | 2008-03-27 18:02:30 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2008-03-27 18:02:30 +0000 |
commit | 8b81d719e16ff5e6da5d41c553b89216e72864fe (patch) | |
tree | 835f961eb739d11c8c6aa9d518136e34953f498e /sys/netgraph/ng_car.c | |
parent | 591c29cdac9ec42c437c6dad35d50875215962fa (diff) | |
download | FreeBSD-src-8b81d719e16ff5e6da5d41c553b89216e72864fe.zip FreeBSD-src-8b81d719e16ff5e6da5d41c553b89216e72864fe.tar.gz |
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
Diffstat (limited to 'sys/netgraph/ng_car.c')
0 files changed, 0 insertions, 0 deletions