summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2013-07-23 14:14:24 +0000
committerae <ae@FreeBSD.org>2013-07-23 14:14:24 +0000
commitafd48faca0b18683e07e39684afce0c5fa2b1d88 (patch)
tree98925344f506b8a40572aca1507117ad5b6e3e9a /sys/netinet/tcp_input.c
parentf2b6d4ff8043c142ebc1952e5e9e82cebe630993 (diff)
downloadFreeBSD-src-afd48faca0b18683e07e39684afce0c5fa2b1d88.zip
FreeBSD-src-afd48faca0b18683e07e39684afce0c5fa2b1d88.tar.gz
Remove the large part of struct ipsecstat. Only few fields of this
structure is used, but they already have equal fields in the struct newipsecstat, that was introduced with FAST_IPSEC and then was merged together with old ipsecstat structure. This fixes kernel stack overflow on some architectures after migration ipsecstat to PCPU counters. Reported by: Taku YAMAMOTO, Maciej Milewski
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 7999263..99bbbd3 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -899,12 +899,12 @@ findpcb:
#ifdef IPSEC
#ifdef INET6
if (isipv6 && ipsec6_in_reject(m, inp)) {
- IPSEC6STAT_INC(in_polvio);
+ IPSEC6STAT_INC(ips_in_polvio);
goto dropunlock;
} else
#endif /* INET6 */
if (ipsec4_in_reject(m, inp) != 0) {
- IPSECSTAT_INC(in_polvio);
+ IPSECSTAT_INC(ips_in_polvio);
goto dropunlock;
}
#endif /* IPSEC */
OpenPOWER on IntegriCloud