diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2017-09-05 00:58:17 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2017-09-05 00:58:17 +0000 |
commit | 1fb8297ae3c4f75c7a5d87d15fc92ba8fa2cbbdc (patch) | |
tree | e215433c13c20a3c0952f1546ea5f730a5014240 /sys/netinet/ip_var.h | |
parent | 2da752890acd521295e856394f31c750792e74ba (diff) |
Serialize access to IP reassembly queue with a mutex. This lets
ip_local(), ip_slowtimo() and ip_drain() run without KERNEL_LOCK()
and NET_LOCK().
Input and OK mpi@, bluhm@
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r-- | sys/netinet/ip_var.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h index f2cb3a19d86..23f824b5ed6 100644 --- a/sys/netinet/ip_var.h +++ b/sys/netinet/ip_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_var.h,v 1.81 2017/09/01 15:05:31 mpi Exp $ */ +/* $OpenBSD: ip_var.h,v 1.82 2017/09/05 00:58:16 visa Exp $ */ /* $NetBSD: ip_var.h,v 1.16 1996/02/13 23:43:20 christos Exp $ */ /* @@ -191,7 +191,6 @@ struct ipq { #define IP_MTUDISC 0x0800 /* pmtu discovery, set DF */ extern struct ipstat ipstat; -extern LIST_HEAD(ipqhead, ipq) ipq; /* ip reass. queue */ extern int ip_defttl; /* default IP ttl */ #define IPMTUDISCTIMEOUT (10 * 60) /* as per RFC 1191 */ |