]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Define IFF_LOCKGIANT() and IFF_UNLOCKGIANT() macros, which conditionally
authorRobert Watson <rwatson@FreeBSD.org>
Tue, 19 Oct 2004 18:11:55 +0000 (18:11 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Tue, 19 Oct 2004 18:11:55 +0000 (18:11 +0000)
commit31302ebf9de0feef284c35697a8e85bcc2819a58
tree07d64d635699b9b650ca1f5748fab8cb0267f483
parent5282e73fd74cb7550d21d9625c51864253570590
Define IFF_LOCKGIANT() and IFF_UNLOCKGIANT() macros, which conditionally
acquire Giant if the passed interface has IFF_NEEDSGIANT set on it.
Modify calls into (ifp)->if_ioctl() in if.c to use these macros in order
to ensure that Giant is held.

MFC after: 3 days
Bumped into by: jmg
sys/net/if.c
sys/net/if_var.h