be2net: Trim padded packets for Lancer
authorSomnath Kotur <somnath.kotur@emulex.com>
Sun, 26 May 2013 21:09:06 +0000 (21:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 05:27:02 +0000 (22:27 -0700)
commit3904dcc4a7af8e28e45a8d123cef3f7653847a51
tree83b4f8d75535503e9680e53ff5a7e6737111cad7
parent48265667a756ab1c2750048caee3da719a86ebb2
be2net: Trim padded packets for Lancer

For padded packets, Lancer computes incorrect checksum. The workaround is
to trim such packets. This workaround is mainly for IPv4 packets.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c