summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/udp6_usrreq.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/netinet6/udp6_usrreq.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/netinet6/udp6_usrreq.c')
-rw-r--r--sys/netinet6/udp6_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index 1f0d52c..6aadae1 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -141,7 +141,7 @@ udp6_append(struct inpcb *inp, struct mbuf *n, int off,
/* Check AH/ESP integrity. */
if (ipsec6_in_reject(n, inp)) {
m_freem(n);
- IPSEC6STAT_INC(in_polvio);
+ IPSEC6STAT_INC(ips_in_polvio);
return;
}
#endif /* IPSEC */
OpenPOWER on IntegriCloud