Date: Sat, 23 Oct 2004 19:18:05 +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/net if.c if_var.h Message-ID: <200410231918.i9NJI5Zc017932@repoman.freebsd.org>
index | next in thread | raw e-mail
rwatson 2004-10-23 19:18:05 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5_3)
sys/net if.c if_var.h
Log:
Merge if.c:1.210, if_var.h:1.85 from HEAD to RELENG_5_3:
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, scottl)
Revision Changes Path
1.199.2.7.2.1 +30 -2 src/sys/net/if.c
1.84.4.1 +10 -0 src/sys/net/if_var.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410231918.i9NJI5Zc017932>
