From: Michal Kubeček Date: Fri, 15 Nov 2013 05:18:50 +0000 (+0100) Subject: macvlan: disable LRO on lower device instead of macvlan X-Git-Tag: v3.13-rc1~33^2~21^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=529d04895446f02449077a4ff49185b593283e19;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed