diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-01-15 17:05:48 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-01-15 17:05:48 +0000 |
commit | f5d75ace113d71beff22337d4979ca94f94a2a1e (patch) | |
tree | d71529cc7247c8bf8b3b04823c9e142863b9046d /sys/netinet/ip_input.c | |
parent | a447e5c6e294997147e59a8dd766c8047ae24da8 (diff) | |
download | FreeBSD-src-f5d75ace113d71beff22337d4979ca94f94a2a1e.zip FreeBSD-src-f5d75ace113d71beff22337d4979ca94f94a2a1e.tar.gz |
Staticize ipqlock, since it is local to ip_input.c.
MFC after: 3 days
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r-- | sys/netinet/ip_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 199590a..dc9a92b 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -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) |