summaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorMichal Kubeček <mkubecek@suse.cz>2014-12-05 17:05:49 +0100
committerDavid S. Miller <davem@davemloft.net>2014-12-09 16:00:22 -0500
commit62dbe83015ed15b307eb22b89568dd41091dda76 (patch)
tree7529dd8e6790a5148aef58eddeacd88f9ce6a2a7 /virt/kvm/kvm_main.c
parentbd42b788607b850b84e7c754d351cbec93c681e1 (diff)
downloadop-kernel-dev-62dbe83015ed15b307eb22b89568dd41091dda76.zip
op-kernel-dev-62dbe83015ed15b307eb22b89568dd41091dda76.tar.gz
macvlan: allow setting LRO independently of lower device
Since commit fbe168ba91f7 ("net: generic dev_disable_lro() stacked device handling"), dev_disable_lro() zeroes NETIF_F_LRO feature flag first for a macvlan device and then for its lower device. As an attempt to set NETIF_F_LRO to zero is ignored, dev_disable_lro() issues a warning and taints kernel. Allowing NETIF_F_LRO to be set independently of the lower device consists of three parts: - add the flag to hw_features to allow toggling it - allow setting it to 0 even if lower device has the flag set - add the flag to MACVLAN_FEATURES to restore copying from lower device on macvlan creation Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud