]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/linux/netdevice.h
net: Fix GSO constants to match NETIF flags
authorTom Herbert <therbert@google.com>
Sun, 15 Jun 2014 06:23:52 +0000 (23:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Jun 2014 08:00:49 +0000 (01:00 -0700)
commit4b28252cada3d0521ab59751f4240ecdfb9bba18
tree5211cc7fe186dad3eb15ab621ca15590a2ed6768
parent63c6f81cdde58c41da62a8d8a209592e42a0203e
net: Fix GSO constants to match NETIF flags

Joseph Gasparakis reported that VXLAN GSO offload stopped working with
i40e device after recent UDP changes. The problem is that the
SKB_GSO_* bits are out of sync with the corresponding NETIF flags. This
patch fixes that. Also, we add BUILD_BUG_ONs in net_gso_ok for several
GSO constants that were missing to avoid the problem in the future.

Reported-by: Joseph Gasparakis <joseph.gasparakis@intel.com>
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdev_features.h
include/linux/netdevice.h
include/linux/skbuff.h