sunvnet: restrict advertized checksum offloads to just IP
authorShannon Nelson <shannon.nelson@oracle.com>
Wed, 14 Jun 2017 22:43:37 +0000 (15:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:22:43 +0000 (14:22 -0400)
commit7e9191c54a36c864b901ea8ce56dc42f10c2f5ae
treef3b6a550b40432e4c6c17861150afc3d46b16675
parent3d8bd78b79800d1518133d4fd6ea0680096f9249
sunvnet: restrict advertized checksum offloads to just IP

As much as we'd like to play well with others, we really aren't
handling the checksums on non-IP protocol packets very well.  This
is easily seen when trying to do TCP over ipv6 - the checksums are
garbage.

Here we restrict the checksum feature flag to just IP traffic so
that we aren't given work we can't yet do.

Orabug: 2617539126259755

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/ldmvsw.c
drivers/net/ethernet/sun/sunvnet.c