android_kernel_google_msm/net/8021q
Peter Boström 711d917045 vlan: Set correct source MAC address with TX VLAN offload enabled
[ Upstream commit dd38743b4c ]

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 2205369a31
("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>
2014-04-26 17:13:16 -07:00
..
Kconfig
Makefile
vlan.c 8021q: fix a potential use-after-free 2013-04-05 10:04:38 -07:00
vlan.h vlan: add 802.1q netpoll support 2011-12-08 19:58:30 -05:00
vlan_core.c vlan: don't deliver frames for unknown vlans to protocols 2012-10-28 10:14:15 -07:00
vlan_dev.c vlan: Set correct source MAC address with TX VLAN offload enabled 2014-04-26 17:13:16 -07:00
vlan_gvrp.c vlan: rename vlan_dev_info to vlan_dev_priv 2011-12-08 19:51:30 -05:00
vlan_netlink.c net: vlan: fix nlmsg size calculation in vlan_get_size() 2013-11-04 04:23:40 -08:00
vlanproc.c vlan: rename vlan_dev_info to vlan_dev_priv 2011-12-08 19:51:30 -05:00
vlanproc.h