Date: Fri, 12 Mar 2010 22:58:52 +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: <201003122301.o2CN1bSE029210@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rrs 2010-03-12 22:58:52 UTC FreeBSD src repository Modified files: 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 205104 on 2010-03-12 22:58:52Z by rrs 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 MFC after: 2 weeks Revision Changes Path 1.5 +1 -1 src/sys/dev/xen/netback/netback.c 1.162 +1 -1 src/sys/netinet/ip_divert.c 1.24 +1 -1 src/sys/netinet/ip_ipsec.c 1.325 +2 -2 src/sys/netinet/ip_output.c 1.18 +1 -3 src/sys/netinet/sctp_crc32.c 1.8 +1 -1 src/sys/netinet/sctp_crc32.h 1.141 +1 -1 src/sys/netinet6/ip6_output.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003122301.o2CN1bSE029210>