summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-12-05 22:50:09 +0000
committerrwatson <rwatson@FreeBSD.org>2004-12-05 22:50:09 +0000
commit22be685755fbf4d2f31ae2643b3a0b689f7b67d4 (patch)
tree24ba53f86d4995065f237c975af43152849f93d2 /sys/nfsclient
parent49745b3e734a9f88dc902c5a2d70f79cb630c45d (diff)
downloadFreeBSD-src-22be685755fbf4d2f31ae2643b3a0b689f7b67d4.zip
FreeBSD-src-22be685755fbf4d2f31ae2643b3a0b689f7b67d4.tar.gz
Convert a GIANT_REQUIRED; into a NET_ASSERT_GIANT();, as sockets are
now only conditionally protected by Giant based on debug.mpsafenet.
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/bootp_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c
index bdc98d2..bee0d06 100644
--- a/sys/nfsclient/bootp_subr.c
+++ b/sys/nfsclient/bootp_subr.c
@@ -983,7 +983,7 @@ bootpc_fakeup_interface(struct bootpc_ifcontext *ifctx,
struct ifaddr *ifa;
struct sockaddr_dl *sdl;
- GIANT_REQUIRED; /* XXX until socket locking done */
+ NET_ASSERT_GIANT();
error = socreate(AF_INET, &ifctx->so, SOCK_DGRAM, 0, td->td_ucred, td);
if (error != 0)
OpenPOWER on IntegriCloud