Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934949AbdC3UGW (ORCPT ); Thu, 30 Mar 2017 16:06:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48658 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933493AbdC3UGS (ORCPT ); Thu, 30 Mar 2017 16:06:18 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 75DB76AAFD Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jbenc@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 75DB76AAFD Date: Thu, 30 Mar 2017 22:06:14 +0200 From: Jiri Benc To: Yi-Hung Wei Cc: joe@ovn.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net v2] openvswitch: Fix ovs_flow_key_update() Message-ID: <20170330220614.7079d316@griffin> In-Reply-To: <1490902563-19288-1-git-send-email-yihung.wei@gmail.com> References: <1490902563-19288-1-git-send-email-yihung.wei@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 30 Mar 2017 20:06:17 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 733 Lines: 17 On Thu, 30 Mar 2017 12:36:03 -0700, Yi-Hung Wei wrote: > ovs_flow_key_update() is called when the flow key is invalid, and it is > used to update and revalidate the flow key. Commit 329f45bc4f19 > ("openvswitch: add mac_proto field to the flow key") introduces mac_proto > field to flow key and use it to determine whether the flow key is valid. > However, the commit does not update the code path in ovs_flow_key_update() > to revalidate the flow key which may cause BUG_ON() on execute_recirc(). > This patch addresses the aforementioned issue. > > Fixes: 329f45bc4f19 ("openvswitch: add mac_proto field to the flow key") > Signed-off-by: Yi-Hung Wei Acked-by: Jiri Benc Thanks! Jiri