[ovs-git] [openvswitch/ovs] d8bb89: conntrack: Replace structure copy by memcpy().

Ben Pfaff noreply at github.com
Fri Mar 15 22:59:02 UTC 2019


  Branch: refs/heads/branch-2.11
  Home:   https://github.com/openvswitch/ovs
  Commit: d8bb89fdaabf2ff503d21c3bac1189125b115529
      https://github.com/openvswitch/ovs/commit/d8bb89fdaabf2ff503d21c3bac1189125b115529
  Author: Darrell Ball <dlu998 at gmail.com>
  Date:   2019-03-15 (Fri, 15 Mar 2019)

  Changed paths:
    M lib/conntrack.c

  Log Message:
  -----------
  conntrack: Replace structure copy by memcpy().

There are a few cases where structure copy can be replaced by
memcpy(), for possible portability benefit.  This is because
the structures involved have padding and elements of the
structure are used to generate hashes.

Signed-off-by: Darrell Ball <dlu998 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list