Re: [PATCH] vlan: Set correct source MAC address with TX VLAN offload enabled

From: David Miller
Date: Mon Mar 10 2014 - 22:22:35 EST


From: Peter Boström <peter.bostrom@xxxxxxxxxxxxx>
Date: Mon, 10 Mar 2014 16:17:15 +0100

> With TX VLAN offload enabled the source MAC address for frames sent using the
> VLAN interface is currently set to the address of the real interface. This is
> wrong since the VLAN interface may be configured with a different address.
>
> The bug was introduced in commit 2205369a314e12fcec4781cc73ac9c08fc2b47de
> ("vlan: Fix header ops passthru when doing TX VLAN offload.").
>
> This patch sets the source address before calling the create function of the
> real interface.
>
> Signed-off-by: Peter Boström <peter.bostrom@xxxxxxxxxxxxx>

Good catch.

Applied and queued up for -stable, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/