]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: fix checksum features handling in netif_skb_features()
authorMichal Kubeček <mkubecek@suse.cz>
Mon, 25 Aug 2014 13:16:22 +0000 (15:16 +0200)
committerJiri Slaby <jslaby@suse.cz>
Fri, 31 Oct 2014 11:14:36 +0000 (12:14 +0100)
commit297b3ddd679ac4e4958661df855595bb49c42a18
tree4e7462d2108794d98776c5d8f92461a603cc6898
parent57c68d49b58d2c6c942dbc89d2c4fec2041e0e9e
net: fix checksum features handling in netif_skb_features()

commit db115037bb57cdfe97078b13da762213f7980e81 upstream.

This is follow-up to

  da08143b8520 ("vlan: more careful checksum features handling")

which introduced more careful feature intersection in vlan code,
taking into account that HW_CSUM should be considered superset
of IP_CSUM/IPV6_CSUM. The same is needed in netif_skb_features()
in order to avoid offloading mismatch warning when vlan is
created on top of a bond consisting of slaves supporting IP/IPv6
checksumming but not vlan Tx offloading.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
net/core/dev.c