CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2013/06/16 20:31:37
Modified files:
sys/netinet : ip_icmp.c
Log message:
In icmp_do_exthdr(), calculate the ICMP extension header checksums with
in4_cksum() instead of in_cksum(). This gets rid of the clunky
m_data/m_len dance, which was described as "disgusting" in the original
comments. :)
Tested on a small MPLS test network (since icmp_do_exthdr() is currently
only used by MPLS code, specifically mpls_do_error()).
ok bluhm henning mikeb