From owner-cvs-all@FreeBSD.ORG Fri Jul 23 03:31:42 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E92016A4CE; Fri, 23 Jul 2004 03:31:42 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FE9243D48; Fri, 23 Jul 2004 03:31:42 +0000 (GMT) (envelope-from mlaier@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6N3VgNQ026253; Fri, 23 Jul 2004 03:31:42 GMT (envelope-from mlaier@repoman.freebsd.org) Received: (from mlaier@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6N3Vg9r026252; Fri, 23 Jul 2004 03:31:42 GMT (envelope-from mlaier) Message-Id: <200407230331.i6N3Vg9r026252@repoman.freebsd.org> From: Max Laier Date: Fri, 23 Jul 2004 03:31:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/contrib/pf/net pf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 03:31:42 -0000 mlaier 2004-07-23 03:31:42 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf.c Log: Refine pf_check_proto_cksum() a bit in order to avoid additional in_pseudo() calls further down the stack. If we find the cksum to be okay we pretend that the hardware did all the work and hence keep the upper layers from checking again. Submitted by: Pyun YongHyeon Revision Changes Path 1.16 +22 -25 src/sys/contrib/pf/net/pf.c