Convert GIANT_REQUIRED to NET_ASSERT_GIANT for socket access.
This commit is contained in:
parent
9ef2900f9d
commit
a97719a4c5
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user