diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-23 03:39:04 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-23 03:39:04 +0000 |
commit | b2841105c40f0b0ef205c49b4e954939ceff892f (patch) | |
tree | 6b2e95d9b11e1870b768ac9abd9b35bad1fb3cb7 | |
parent | 8e574c8018d2cb94ea8a996814764d36ff7cf597 (diff) |
Clear IPv4 input checksum OK flag after verification.
-rw-r--r-- | sys/netinet/ip_input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 18dce3acddc..6e521d7748f 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_input.c,v 1.77 2001/06/23 02:27:09 angelos Exp $ */ +/* $OpenBSD: ip_input.c,v 1.78 2001/06/23 03:39:03 angelos Exp $ */ /* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */ /* @@ -338,6 +338,8 @@ ipv4_input(m) ipstat.ips_badsum++; goto bad; } + + m->m_pkthdr.csum &= ~M_IPV4_CSUM_IN_OK; } /* |