[ovs-git] [openvswitch/ovs] 39cc5c: Use initializers for struct ofputil_flow_mod inste...

GitHub noreply at github.com
Mon Jan 4 20:26:02 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 39cc5c4adea207465e88d309dedf61990201301b
      https://github.com/openvswitch/ovs/commit/39cc5c4adea207465e88d309dedf61990201301b
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2016-01-04 (Mon, 04 Jan 2016)

  Changed paths:
    M lib/learning-switch.c
    M lib/ofp-parse.c
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto.c
    M utilities/ovs-ofctl.c

  Log Message:
  -----------
  Use initializers for struct ofputil_flow_mod instead of assignments.

A few bugs have been fixed lately that were related to struct
ofputil_flow_mod not being fully initialized in a few places.  This commit
changes several pieces of code from using individual assignments to fields
in struct ofputil_flow_mod, to using whole initializers or assignments to
a whole struct.  This should help prevent similar problems in the future.

CC: Ilya Maximets <i.maximets at samsung.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Russell Bryant <russell at ovn.org>




More information about the git mailing list