Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751724AbZKSLrB (ORCPT ); Thu, 19 Nov 2009 06:47:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751349AbZKSLrA (ORCPT ); Thu, 19 Nov 2009 06:47:00 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:59513 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbZKSLq7 (ORCPT ); Thu, 19 Nov 2009 06:46:59 -0500 From: Arnd Bergmann To: "Eric W. Biederman" Subject: Re: [PATCH 1/3] macvlan: Reflect macvlan packets meant for other macvlan devices Date: Thu, 19 Nov 2009 12:44:43 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31-14-generic; KDE/4.3.2; x86_64; ; ) Cc: Eric Dumazet , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, David Miller , Stephen Hemminger , Herbert Xu , Patrick McHardy , Patrick Mullaney , Edge Virtual Bridging , Anna Fischer , bridge@lists.linux-foundation.org, virtualization@linux-foundation.com, Jens Osterkamp , Gerhard Stenzel References: <1258497551-25959-1-git-send-email-arnd@arndb.de> <200911182332.56309.arnd@arndb.de> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200911191244.43916.arnd@arndb.de> X-Provags-ID: V01U2FsdGVkX1+J+6Jx6m2AuhitG0/+NEKv/zrc+uo6YBppoiT ouWlogdLIpC7sJUAsHXmkax8xcwgMBz9+kkt6I+eaLWuUM6HVf JderrpkELQ34WrELzopkA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 807 Lines: 17 On Thursday 19 November 2009, Eric W. Biederman wrote: > > It seems that we should never drop dst then. We either forward the frame to > > netif_rx or to dev_queue_xmit, and from how I read it now, we want to keep > > the dst in both cases. > > When we loop back on our selves we certainly need to have dst clear because > we don't know how to cache routes through multiple network namespaces. Ah, right. So should I add the explicit dst_drop to the new dev_forward_skb() then? The veth driver doesn't need it, but it also looks like it won't hurt. Arnd <>< -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/