From owner-cvs-src-old@FreeBSD.ORG Mon Apr 5 13:49:13 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CE99106566C for ; Mon, 5 Apr 2010 13:49:13 +0000 (UTC) (envelope-from rrs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 095F08FC08 for ; Mon, 5 Apr 2010 13:49:13 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o35DnCXk046226 for ; Mon, 5 Apr 2010 13:49:12 GMT (envelope-from rrs@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o35DnCIU046225 for cvs-src-old@freebsd.org; Mon, 5 Apr 2010 13:49:12 GMT (envelope-from rrs@repoman.freebsd.org) Message-Id: <201004051349.o35DnCIU046225@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rrs@repoman.freebsd.org using -f From: Randall Stewart Date: Mon, 5 Apr 2010 13:48:23 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/xen/netback netback.c src/sys/netinet ip_divert.c ip_ipsec.c ip_output.c sctp_crc32.c sctp_crc32.h src/sys/netinet6 ip6_output.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2010 13:49:13 -0000 rrs 2010-04-05 13:48:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/xen/netback netback.c sys/netinet ip_divert.c ip_ipsec.c ip_output.c sctp_crc32.c sctp_crc32.h sys/netinet6 ip6_output.c Log: SVN rev 206181 on 2010-04-05 13:48:23Z by rrs MFC of 2 items to fix the csum for v6 issue: Revision 205075 and 205104: ---------205075---------- With the recent change of the sctp checksum to support offload, no delayed checksum was added to the ip6 output code. This causes cards that do not support SCTP checksum offload to have SCTP packets that are IPv6 NOT have the sctp checksum performed. Thus you could not communicate with a peer. This adds the missing bits to make the checksum happen for these cards. ------------------------- ---------205104---------- The proper fix for the delayed SCTP checksum is to have the delayed function take an argument as to the offset to the SCTP header. This allows it to work for V4 and V6. This of course means changing all callers of the function to either pass the header len, if they have it, or create it (ip_hl << 2 or sizeof(ip6_hdr)). ------------------------- PR: 144529 Revision Changes Path 1.3.2.3 +1 -1 src/sys/dev/xen/netback/netback.c 1.156.2.5 +1 -1 src/sys/netinet/ip_divert.c 1.22.2.2 +1 -1 src/sys/netinet/ip_ipsec.c 1.314.2.9 +2 -2 src/sys/netinet/ip_output.c 1.17.2.2 +1 -3 src/sys/netinet/sctp_crc32.c 1.7.2.2 +1 -1 src/sys/netinet/sctp_crc32.h 1.137.2.4 +19 -0 src/sys/netinet6/ip6_output.c