Staticize ipqlock, since it is local to ip_input.c.

MFC after:	3 days
This commit is contained in:
Robert Watson 2006-01-15 17:05:48 +00:00
parent f0ee42d0f1
commit dfa60d9354
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154395

View File

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