pch_gbe: fix ip_summed checksum reporting on rx
authorVeaceslav Falico <vfalico@redhat.com>
Mon, 25 Mar 2013 22:26:21 +0000 (22:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Mar 2013 16:20:29 +0000 (12:20 -0400)
commit3b6089c43f188c6c2172a84391f9147e802e08a9
treeedc6551ffaabeb843d191a39a60b76ff320174e1
parent3949c67f9c322ee07ee80f5fcad7425d6b74adc2
pch_gbe: fix ip_summed checksum reporting on rx

skb->ip_summed should be CHECKSUM_UNNECESSARY when the driver reports that
checksums were correct and CHECKSUM_NONE in any other case. They're
currently placed vice versa, which breaks the forwarding scenario. Fix it
by placing them as described above.

Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c