]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: Disable segmentation if checksumming is not supported
authorAlexander Duyck <aduyck@mirantis.com>
Mon, 2 May 2016 16:25:10 +0000 (09:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2016 20:00:54 +0000 (16:00 -0400)
commit996e802187889f1cd412e6929c9344b92ccb78c4
tree19e9e66c3014702dc294d9f8ca1fb7d7662f8244
parent0e28bf93a273cce0db67a17428697abb722c36b8
net: Disable segmentation if checksumming is not supported

In the case of the mlx4 and mlx5 driver they do not support IPv6 checksum
offload for tunnels.  With this being the case we should disable GSO in
addition to the checksum offload features when we find that a device cannot
perform a checksum on a given packet type.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c