e1000: Fix TCP checksum overflow with TSO
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 5 Nov 2010 20:52:08 +0000 (14:52 -0600)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 13 Nov 2010 21:22:08 +0000 (23:22 +0200)
commit449648944ec063c008f90dcfeb529f3932469161
tree5fc3c1eba41adb02ec9dda482bf94985f371c9c7
parent903aa96b6e7dcd3c16bc3d4a5359c4636778de32
e1000: Fix TCP checksum overflow with TSO

When adding the length to the pseudo header, we're not properly
accounting for overflow.

From: Mark Wu <dwu@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/e1000.c