diff options
author | Michal Kubeček | 2013-11-15 06:18:50 +0100 |
---|---|---|
committer | David S. Miller | 2013-11-15 23:55:48 +0100 |
commit | 529d04895446f02449077a4ff49185b593283e19 (patch) | |
tree | 6f19d2911b09276a4f69f13e99272321024417f6 /arch/powerpc | |
parent | macvlan: introduce macvlan_dev_real_dev() helper function (diff) | |
download | kernel-qcow2-linux-529d04895446f02449077a4ff49185b593283e19.tar.gz kernel-qcow2-linux-529d04895446f02449077a4ff49185b593283e19.tar.xz kernel-qcow2-linux-529d04895446f02449077a4ff49185b593283e19.zip |
macvlan: disable LRO on lower device instead of macvlan
A macvlan device has always LRO disabled so that calling
dev_disable_lro() on it does nothing. If we need to disable LRO
e.g. because
- the macvlan device is inserted into a bridge
- IPv6 forwarding is enabled for it
- it is in a different namespace than lowerdev and IPv4
forwarding is enabled in it
we need to disable LRO on its underlying device instead (as we
do for 802.1q VLAN devices).
v2: use newly introduced netif_is_macvlan()
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions