]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb56c31b414039879f10d7ddcb7a1bf4523c6df16
tree5211cc7fe186dad3eb15ab621ca15590a2ed6768
parent14ecc852745752e9da366a76e9a1547cba12ac3e
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