net/veth: Fix packet checksumming
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 14 Dec 2010 12:35:13 +0000 (12:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2010 22:41:35 +0000 (14:41 -0800)
commit0b7967503dc97864f283a3a06fbe23e041876138
tree66029b76d2d8f5fc74a3e8be0637b3814a0fd34a
parent76d661586c8131453ba75a2e027c1f21511a893a
net/veth: Fix packet checksumming

We can't change ip_summed from CHECKSUM_PARTIAL to CHECKSUM_NONE
or CHECKSUM_UNNECESSARY because checksum in packet's headers is
not valid and will cause invalid checksum when frame is forwarded.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c