ehea: Fix a checksum issue on the receive path
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Thu, 7 Oct 2010 13:17:33 +0000 (13:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Oct 2010 21:24:59 +0000 (14:24 -0700)
commit71085ce8285dc5f3011694f6ba7259201135c6d6
tree1f9bb13115733a117998abe4b0abdb6fb2ca332e
parent6fcc040f02d281c7e9563127358a77ce2bbfe284
ehea: Fix a checksum issue on the receive path

Currently we set all skbs with CHECKSUM_UNNECESSARY, even
those whose protocol we don't know. This patch just
add the CHECKSUM_COMPLETE tag for non TCP/UDP packets.

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ehea/ehea_main.c
drivers/net/ehea/ehea_qmr.h