git: icmp: Utilize in_cksum_skip()

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Nov 15 21:56:43 PST 2014


commit efa391c40c414e7071b2041f1888180deb1806b9
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Nov 16 13:55:13 2014 +0800

    icmp: Utilize in_cksum_skip()
    
    This avoids unnecessary m_data and m_len adjustment before and after
    in_cksum().

Summary of changes:
 sys/netinet/ip_icmp.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/efa391c40c414e7071b2041f1888180deb1806b9


-- 
DragonFly BSD source repository



More information about the Commits mailing list