cvs commit: src/sys/net if.c if_var.h
Robert Watson
rwatson at FreeBSD.org
Fri Oct 22 02:32:46 PDT 2004
rwatson 2004-10-22 09:32:45 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/net if.c if_var.h
Log:
Merge if.c:1.210, if_var.h:1.85 from HEAD to RELENG_5:
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
Approved by: re (kensmith)
Revision Changes Path
1.199.2.8 +30 -2 src/sys/net/if.c
1.84.2.1 +10 -0 src/sys/net/if_var.h
More information about the cvs-src
mailing list