1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

correct stat to increment.

Obtained from:	KAME
This commit is contained in:
Hajimu UMEMOTO 2003-10-31 17:51:54 +00:00
parent 2a8a98c058
commit 0a91356606
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121814

View File

@ -579,7 +579,7 @@ esp6_input(mp, offp, proto)
goto noreplaycheck;
siz = (((*sumalgo->sumsiz)(sav) + 3) & ~(4 - 1));
if (m->m_pkthdr.len < off + ESPMAXLEN + siz) {
ipsecstat.in_inval++;
ipsec6stat.in_inval++;
goto bad;
}
if (AH_MAXSUMSIZE < siz) {