diff options
author | Peter Boström <peter.bostrom@netrounds.com> | 2014-03-10 16:17:15 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-14 06:42:16 -0700 |
commit | 471e50f30749fbd9a410b29b6549aa26f76fc021 (patch) | |
tree | 5b541fa5133244b647158ac09bee758e2ed6ee01 /net/core | |
parent | 8f41e6a828ce53021ebbf2594195a7ec8ee0628e (diff) | |
download | linux-3.10-471e50f30749fbd9a410b29b6549aa26f76fc021.tar.gz linux-3.10-471e50f30749fbd9a410b29b6549aa26f76fc021.tar.bz2 linux-3.10-471e50f30749fbd9a410b29b6549aa26f76fc021.zip |
vlan: Set correct source MAC address with TX VLAN offload enabled
[ Upstream commit dd38743b4cc2f86be250eaf156cf113ba3dd531a ]
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@netrounds.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions