DragonFly commits List (threaded) for 2008-12
DragonFly BSD
DragonFly commits List (threaded) for 2008-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Dec 2008 03:37:03 -0800 (PST)

commit e19289ce800c7418be17878b0da4727948a2c2b9
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]