increase correct stat. KAME pr 445
This commit is contained in:
parent
5ab7d519a3
commit
02a04fd9fc
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: esp_input.c,v 1.26 2002/09/11 03:45:45 itojun Exp $ */
|
||||
/* $NetBSD: esp_input.c,v 1.27 2002/10/28 16:42:44 itojun Exp $ */
|
||||
/* $KAME: esp_input.c,v 1.60 2001/09/04 08:43:19 itojun Exp $ */
|
||||
|
||||
/*
|
||||
@ -35,7 +35,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: esp_input.c,v 1.26 2002/09/11 03:45:45 itojun Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: esp_input.c,v 1.27 2002/10/28 16:42:44 itojun Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
|
||||
@ -635,7 +635,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