DragonFly-2.1.1.21.ge1928 master sys/netinet ip_carp.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Dec 4 03:38:43 PST 2008


commit e19289ce800c7418be17878b0da4727948a2c2b9
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Dec 4 18:05:51 2008 +0800

    Use in_cksum_{range,skip}()
    This is mainly used to avoid following code sequence:
      m->m_data += skip;
      in_cksum(m, len);
      m->m_data -= skip;

Summary of changes:
 sys/netinet/ip_carp.c |   20 +++-----------------
 1 files changed, 3 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=e19289ce800c7418be17878b0da4727948a2c2b9


-- 
DragonFly BSD source repository





More information about the Commits mailing list