[ovs-git] [openvswitch/ovs] ece9c2: Explain initialization when using csum()

GitHub noreply at github.com
Sun Jul 24 18:50:13 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: ece9c2947dd5956708bcdb44922a2481da6b2f50
      https://github.com/openvswitch/ovs/commit/ece9c2947dd5956708bcdb44922a2481da6b2f50
  Author: Ryan Moats <rmoats at us.ibm.com>
  Date:   2016-07-24 (Sun, 24 Jul 2016)

  Changed paths:
    M lib/bfd.c
    M lib/flow.c
    M lib/netdev-native-tnl.c
    M ovn/controller/pinctrl.c

  Log Message:
  -----------
  Explain initialization when using csum()

The checksum method csum() requires its output location to be
intialized to zero when that output location is part of the
checksum.  Add comments to the various places where csum is
called documenting where the initialization has occurred.

Signed-off-by: Ryan Moats <rmoats at us.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list