From mboxrd@z Thu Jan 1 00:00:00 1970 From: Isaku Yamahata Subject: Re: [PATCH net] core/dev: do not ignore dmac in dev_forward_skb() Date: Tue, 12 Nov 2013 14:25:31 +0900 Message-ID: <20131112052531.GB22272@private.email.ne.jp> References: <1384206735-4226-1-git-send-email-ast@plumgrid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Maciej =?utf-8?Q?=C5=BBenczykowski?= , isaku.yamahata@gmail.com, "David S. Miller" , Eric Dumazet , Linux NetDev , Nicolas Dichtel , yamahatanetdev@gmail.com To: Alexei Starovoitov Return-path: Received: from mail-pd0-f180.google.com ([209.85.192.180]:44218 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751284Ab3KLF0H (ORCPT ); Tue, 12 Nov 2013 00:26:07 -0500 Received: by mail-pd0-f180.google.com with SMTP id v10so2240204pde.25 for ; Mon, 11 Nov 2013 21:26:06 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Nov 11, 2013 at 05:12:10PM -0800, Alexei Starovoitov wrote: > On Mon, Nov 11, 2013 at 4:39 PM, Maciej =C5=BBenczykowski > wrote: > > Ack. > > > > I'm sure this breaks whatever the original commit was trying to 'fi= x', > > however it does so in a clearly incorrect manner by effectively > > disabling dst mac address filtering. >=20 > actually it doesn't break it. Isaku's testcase works for me. The changeset of 963a88b31ddbbe99f38502239b1a46601773d217 "tunnels: harmonize cleanup done on skb on xmit path" addresses the issue by calling skb_scrub_packet() when sending skb through tunnel. So it is safe to revert it. thanks, --=20 Isaku Yamahata