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:
rwatson 2006-02-13 23:44:20 +00:00
parent bc3c1b31ae
commit f55041bfd1

View File

@ -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)