diff options
author | Peter Boström <peter.bostrom@netrounds.com> | 2014-03-10 16:17:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-11 03:21:51 +0100 |
commit | dd38743b4cc2f86be250eaf156cf113ba3dd531a (patch) | |
tree | 56286f22988b319b591045e787558be30a1e1de4 /drivers/net/vmxnet3 | |
parent | Xen-netback: Fix issue caused by using gso_type wrongly (diff) | |
download | linux-dd38743b4cc2f86be250eaf156cf113ba3dd531a.tar.xz linux-dd38743b4cc2f86be250eaf156cf113ba3dd531a.zip |
vlan: Set correct source MAC address with TX VLAN offload enabled
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>
Diffstat (limited to 'drivers/net/vmxnet3')
0 files changed, 0 insertions, 0 deletions