[ovs-git] [openvswitch/ovs] e3e965: meta-flow: Initialize the whole exact_match_mask.

GitHub noreply at github.com
Thu Aug 27 17:50:06 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: e3e965094cefde523998ba68ad842a656ba25153
      https://github.com/openvswitch/ovs/commit/e3e965094cefde523998ba68ad842a656ba25153
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2015-08-27 (Thu, 27 Aug 2015)

  Changed paths:
    M lib/meta-flow.c
    M lib/meta-flow.h

  Log Message:
  -----------
  meta-flow: Initialize the whole exact_match_mask.

Initialize the whole 'exact_match_mask' in global scope and use it in
mf_mask_field_and_prereqs() and mf_mask_field().

Requested-by: Jesse Gross <jesse at nicira.com>
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 5ecf765c088190267137cdc7223ce3d835d224b5
      https://github.com/openvswitch/ovs/commit/5ecf765c088190267137cdc7223ce3d835d224b5
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2015-08-27 (Thu, 27 Aug 2015)

  Changed paths:
    M lib/flow.h

  Log Message:
  -----------
  flow: Workaround for GCC false-positive compilation error.

Without an explicit bounds check GCC 4.9 issues an array out of bounds
error.  This patch adds explicit checks which will however be
optimized away as the relevant parameters are compile-time constants.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/c6f4d2988f8b...5ecf765c0881


More information about the git mailing list