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:
parent
2a8a98c058
commit
0a91356606
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121814
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user