MFC ip_input.c:1.310:
Staticize ipqlock, since it is local to ip_input.c. Approved by: re (scottl)
This commit is contained in:
parent
bc3c1b31ae
commit
f55041bfd1
@ -190,7 +190,7 @@ SYSCTL_STRUCT(_net_inet_ip, IPCTL_STATS, stats, CTLFLAG_RW,
|
||||
(((((x) & 0xF) | ((((x) >> 8) & 0xF) << 4)) ^ (y)) & IPREASS_HMASK)
|
||||
|
||||
static TAILQ_HEAD(ipqhead, ipq) ipq[IPREASS_NHASH];
|
||||
struct mtx ipqlock;
|
||||
static struct mtx ipqlock;
|
||||
struct callout ipport_tick_callout;
|
||||
|
||||
#define IPQ_LOCK() mtx_lock(&ipqlock)
|
||||
|
Loading…
x
Reference in New Issue
Block a user