Date: Mon, 27 Jun 2005 07:36:02 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org 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 Message-ID: <200506270736.j5R7a3OZ036531@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506270736.j5R7a3OZ036531>