Convert GIANT_REQUIRED to NET_ASSERT_GIANT for socket access.

This commit is contained in:
Robert Watson 2004-06-16 03:36:06 +00:00
parent 9ef2900f9d
commit a97719a4c5

View File

@ -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);
/*