From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH next] ipvlan: add L2 check for packets arriving via virtual devices Date: Mon, 11 Dec 2017 11:15:23 -0500 (EST) Message-ID: <20171211.111523.656092715140972680.davem@davemloft.net> References: <20171207231543.7637-1-mahesh@bandewar.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, edumazet@google.com, amit.sikka@ericsson.com, maheshb@google.com To: mahesh@bandewar.net Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:36136 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751728AbdLKQPZ (ORCPT ); Mon, 11 Dec 2017 11:15:25 -0500 In-Reply-To: <20171207231543.7637-1-mahesh@bandewar.net> Sender: netdev-owner@vger.kernel.org List-ID: From: Mahesh Bandewar Date: Thu, 7 Dec 2017 15:15:43 -0800 > From: Mahesh Bandewar > > Packets that don't have dest mac as the mac of the master device should > not be entertained by the IPvlan rx-handler. This is mostly true as the > packet path mostly takes care of that, except when the master device is > a virtual device. As demonstrated in the following case - ... > This patch adds that missing check in the IPvlan rx-handler. > > Reported-by: Amit Sikka > Signed-off-by: Mahesh Bandewar Applied, but it's a shame that the data plane takes on this new MAC compare operation.