]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77a3e81261ec233fe6caaa904d94f75b271c3a27
treef3b6a550b40432e4c6c17861150afc3d46b16675
parentebfd4b3ee133e8c4f256161decd94037839bf71b
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