Date: Mon, 5 Apr 2010 13:48:23 +0000 (UTC) From: Randall Stewart <rrs@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <201004051349.o35DnCIU046225@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004051349.o35DnCIU046225>