aboutsummaryrefslogtreecommitdiffstats
path: root/.cocciconfig
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2018-11-14 11:50:22 +0000
committerDavid S. Miller <davem@davemloft.net>2018-11-16 20:16:19 -0800
commit75938f77105fcede560b9b6967389cdbd6b83361 (patch)
tree5d9d688c49a966ceddc9c9cefbcce1823127f475 /.cocciconfig
parentusbnet: smsc95xx: fix memcpy for accessing rx-data (diff)
downloadlinux-dev-75938f77105fcede560b9b6967389cdbd6b83361.tar.xz
linux-dev-75938f77105fcede560b9b6967389cdbd6b83361.zip
usbnet: smsc95xx: check for csum being in last four bytes
The manual states that the checksum cannot lie in the last DWORD of the transmission, so add a basic check for this and fall back to software checksumming the packet. This only seems to trigger for ACK packets with no options or data to return to the other end, and the use of the tx-alignment option makes it more likely to happen. Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions