]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ftgmac100: Cleanup rx checksum handling
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 6 Apr 2017 01:02:46 +0000 (11:02 +1000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Apr 2017 22:39:45 +0000 (15:39 -0700)
commit672021943c453c4ae04bf131ccf155a7d4f967ab
treeb0a9943a9c08188386cda6f46fbb2877d348b72c
parentd72e01a0430f8a1ae7adb3cbf0b2e73fcd99252e
ftgmac100: Cleanup rx checksum handling

Read the descriptor field only once and check for IP header
checksum errors as well

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c