Acked-by: Ethan Jackson <et...@nicira.com>

On Mon, Sep 9, 2013 at 2:22 PM, Ben Pfaff <b...@nicira.com> wrote:
> Found by inspection.
>
> Signed-off-by: Ben Pfaff <b...@nicira.com>
> ---
>  ofproto/ofproto.c |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
> index 03738ab..e7ee60e 100644
> --- a/ofproto/ofproto.c
> +++ b/ofproto/ofproto.c
> @@ -2982,7 +2982,8 @@ collect_rules_loose(struct ofproto *ofproto, uint8_t 
> table_id,
>                      goto exit;
>                  }
>                  if (rule->flow_cookie == cookie /* Hash collisions possible. 
> */
> -                    && ofproto_rule_has_out_port(rule, out_port)) {
> +                    && ofproto_rule_has_out_port(rule, out_port)
> +                    && ofproto_rule_has_out_group(rule, out_group)) {
>                      list_push_back(rules, &rule->ofproto_node);
>                  }
>              }
> @@ -3064,7 +3065,8 @@ collect_rules_strict(struct ofproto *ofproto, uint8_t 
> table_id,
>                      goto exit;
>                  }
>                  if (rule->flow_cookie == cookie /* Hash collisions possible. 
> */
> -                    && ofproto_rule_has_out_port(rule, out_port)) {
> +                    && ofproto_rule_has_out_port(rule, out_port)
> +                    && ofproto_rule_has_out_group(rule, out_group)) {
>                      list_push_back(rules, &rule->ofproto_node);
>                  }
>              }
> --
> 1.7.10.4
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to