Date: Thu, 25 Mar 2004 00:46:27 -0800 (PST) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_output.c Message-ID: <200403250846.i2P8kRHx047818@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2004/03/25 00:46:27 PST FreeBSD src repository Modified files: sys/netinet ip_output.c Log: Untangle IP multicast routing interaction with delayed payload checksums. Compute the payload checksum for a locally originated IP multicast where God intended, in ip_mloopback(), rather than doing it in ip_output() and only when multicast router is active. This is more correct as we do not fool ip_input() that the packet has the correct payload checksum when in fact it does not (when multicast router is inactive). This is also more efficient if we don't join the multicast group we send to, thus allowing the hardware to checksum the payload. Revision Changes Path 1.212 +3 -13 src/sys/netinet/ip_output.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403250846.i2P8kRHx047818>