]> git.baikalelectronics.ru Git - kernel.git/commit
net: Eliminate NETIF_F_GEN_CSUM and NETIF_F_V[46]_CSUM
authorTom Herbert <tom@herbertland.com>
Mon, 14 Dec 2015 19:19:44 +0000 (11:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 21:50:20 +0000 (16:50 -0500)
commit1219f4b925f026ae4841e3d93a7b9403d922f8f1
tree714a0169000dfa3c7456e69b58da887159b71586
parent2ffe3ac91b71cc5ae4034f5c449b43f7e3af55dc
net: Eliminate NETIF_F_GEN_CSUM and NETIF_F_V[46]_CSUM

These netif flags are unnecessary convolutions. It is more
straightforward to just use NETIF_F_HW_CSUM, NETIF_F_IP_CSUM,
and NETIF_F_IPV6_CSUM directly.

This patch also:
    - Cleans up can_checksum_protocol
    - Simplifies netdev_intersect_features

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
drivers/net/ethernet/sfc/efx.c
drivers/net/macvlan.c
include/linux/if_vlan.h
include/linux/netdev_features.h
include/linux/netdevice.h
net/core/dev.c
net/core/pktgen.c
net/ipv4/ip_output.c
net/ipv4/netfilter/nf_nat_l3proto_ipv4.c
net/ipv4/udp.c
net/ipv4/udp_offload.c
net/ipv6/ip6_output.c
net/ipv6/netfilter/nf_nat_l3proto_ipv6.c