Staticize ipqlock, since it is local to ip_input.c.
MFC after: 3 days
This commit is contained in:
parent
f0ee42d0f1
commit
dfa60d9354
@ -174,7 +174,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