summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2014-01-24 18:54:58 +0000
committerhenning <henning@openbsd.org>2014-01-24 18:54:58 +0000
commit58808e0a09657d590a36d0304e91743ae23f70d7 (patch)
treea2547d3f7677da3005cb55be36099ad616906786 /sys/netinet/tcp_input.c
parentFrom Areca, this also fully supports ARC-1264, ARC-1284 and the upcoming (diff)
downloadwireguard-openbsd-58808e0a09657d590a36d0304e91743ae23f70d7.tar.xz
wireguard-openbsd-58808e0a09657d590a36d0304e91743ae23f70d7.zip
clearing the _CSUM_IN_OK flags is now utterly pointless, was only done for
statistics sideeffects before. ok lteo naddy
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index ad222356fbc..ced6114875e 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.271 2014/01/23 23:51:29 henning Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.272 2014/01/24 18:54:58 henning Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -533,9 +533,7 @@ tcp_input(struct mbuf *m, ...)
tcpstat.tcps_rcvbadsum++;
goto drop;
}
- } else
- /* XXXHB20140123 */
- m->m_pkthdr.csum_flags &= ~M_TCP_CSUM_IN_OK;
+ }
/*
* Check that TCP offset makes sense,