From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] bonding/vlan: Avoid mangled NAs on slaves without VLAN tag insertion Date: Mon, 07 Feb 2011 13:17:54 -0800 (PST) Message-ID: <20110207.131754.59684095.davem@davemloft.net> References: <1297106455.4077.7.camel@bwh-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, fubar@us.ibm.com, stable@kernel.org, bonding-devel@lists.sourceforge.net To: bhutchings@solarflare.com Return-path: In-Reply-To: <1297106455.4077.7.camel@bwh-desktop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: stable-bounces@linux.kernel.org Errors-To: stable-bounces@linux.kernel.org List-Id: netdev.vger.kernel.org From: Ben Hutchings Date: Mon, 07 Feb 2011 19:20:55 +0000 > This is related to commit f88a4a9b65a6f3422b81be995535d0e69df11bb8 > upstream, but the bug cannot be properly fixed without the other > changes to VLAN tagging in 2.6.37. > > bond_na_send() attempts to insert a VLAN tag in between building and > sending packets of the respective formats. If the slave does not > implement hardware VLAN tag insertion then vlan_put_tag() will mangle > the network-layer header because the Ethernet header is not present at > this point (unlike in bond_arp_send()). > > Signed-off-by: Ben Hutchings Acked-by: David S. Miller