diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-04-25 17:55:53 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-04-25 17:55:53 +0000 |
commit | 948b72c9a135a04cadb7d569abfe4a17c69116cb (patch) | |
tree | 4ddde61c6f85bfa035976cb676fb6832cbb7e452 /sys/netinet/tcp_input.c | |
parent | 92631af20d38789c1d412f4010fbe288e4abac35 (diff) |
csum -> csum_flags
ok krw@ canacar@
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index cc46ff0fef4..61f7c8940a7 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.186 2005/04/05 20:27:35 markus Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.187 2005/04/25 17:55:52 brad Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -484,8 +484,8 @@ tcp_input(struct mbuf *m, ...) /* * Checksum extended TCP header and data. */ - if ((m->m_pkthdr.csum & M_TCP_CSUM_IN_OK) == 0) { - if (m->m_pkthdr.csum & M_TCP_CSUM_IN_BAD) { + if ((m->m_pkthdr.csum_flags & M_TCP_CSUM_IN_OK) == 0) { + if (m->m_pkthdr.csum_flags & M_TCP_CSUM_IN_BAD) { tcpstat.tcps_inhwcsum++; tcpstat.tcps_rcvbadsum++; goto drop; @@ -495,7 +495,7 @@ tcp_input(struct mbuf *m, ...) goto drop; } } else { - m->m_pkthdr.csum &= ~M_TCP_CSUM_IN_OK; + m->m_pkthdr.csum_flags &= ~M_TCP_CSUM_IN_OK; tcpstat.tcps_inhwcsum++; } break; |