cvs commit: src/sys/netinet ip_output.c

Ruslan Ermilov ru at FreeBSD.org
Thu Mar 25 00:46:27 PST 2004


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


More information about the cvs-src mailing list