From owner-cvs-src@FreeBSD.ORG Mon Jun 27 07:36:03 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2B6016A41C; Mon, 27 Jun 2005 07:36:03 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE27D43D4C; Mon, 27 Jun 2005 07:36:03 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j5R7a36Z036532; Mon, 27 Jun 2005 07:36:03 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5R7a3OZ036531; Mon, 27 Jun 2005 07:36:03 GMT (envelope-from glebius) Message-Id: <200506270736.j5R7a3OZ036531@repoman.freebsd.org> From: Gleb Smirnoff Date: Mon, 27 Jun 2005 07:36:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netinet/libalias alias_ftp.c alias_irc.c alias_local.h alias_proxy.c alias_skinny.c alias_smedia.c alias_util.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 07:36:04 -0000 glebius 2005-06-27 07:36:02 UTC FreeBSD src repository Modified files: sys/netinet/libalias alias_ftp.c alias_irc.c alias_local.h alias_proxy.c alias_skinny.c alias_smedia.c alias_util.c Log: Disable checksum processing in LibAlias, when it works as a kernel module. LibAlias is not aware about checksum offloading, so the caller should provide checksum calculation. (The only current consumer is ng_nat(4)). When TCP packet internals has been changed and it requires checksum recalculation, a cookie is set in th_x2 field of TCP packet, to inform caller that it needs to recalculate checksum. This ugly hack would be removed when LibAlias is made more kernel friendly. Incremental checksum updates are left as is, since they don't conflict with offloading. Approved by: re (scottl) Revision Changes Path 1.27 +4 -0 src/sys/netinet/libalias/alias_ftp.c 1.21 +4 -0 src/sys/netinet/libalias/alias_irc.c 1.32 +10 -1 src/sys/netinet/libalias/alias_local.h 1.26 +4 -0 src/sys/netinet/libalias/alias_proxy.c 1.12 +12 -2 src/sys/netinet/libalias/alias_skinny.c 1.15 +8 -1 src/sys/netinet/libalias/alias_smedia.c 1.18 +8 -8 src/sys/netinet/libalias/alias_util.c