]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Aug 2014 00:23:03 +0000 (17:23 -0700)
commitc6e8fd6c4e164365c7baa567380ef82e058ce3d5
treeaec2854d8cc3ac16ac4422096136839c0489dfcb
parentd070ae8b0cf3b3e214ad178c502d20b91369ab5d
net: fix checksum features handling in netif_skb_features()

This is follow-up to

  05622586afc3 ("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>
net/core/dev.c