summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-06-16 03:36:06 +0000
committerrwatson <rwatson@FreeBSD.org>2004-06-16 03:36:06 +0000
commit1e2bc9e8f6882b458dde15a5522bbc9a2aa91b7d (patch)
treedbccf5a30326decc738009756cc7171480e4ef0c /sys/netinet/tcp_syncache.c
parent65f0bd9a1085ce613c1231c460305977e35fd10e (diff)
downloadFreeBSD-src-1e2bc9e8f6882b458dde15a5522bbc9a2aa91b7d.zip
FreeBSD-src-1e2bc9e8f6882b458dde15a5522bbc9a2aa91b7d.tar.gz
Convert GIANT_REQUIRED to NET_ASSERT_GIANT for socket access.
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r--sys/netinet/tcp_syncache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
index 640a9f0..57d6a93 100644
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -540,7 +540,7 @@ syncache_socket(sc, lso, m)
struct socket *so;
struct tcpcb *tp;
- GIANT_REQUIRED; /* XXX until socket locking */
+ NET_ASSERT_GIANT();
INP_INFO_WLOCK_ASSERT(&tcbinfo);
/*
OpenPOWER on IntegriCloud