e1000: Fix TCP checksum overflow with TSO
commit1f892feb37dabedbb2492c6b499b0c1b22631a1f
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 5 Nov 2010 20:52:08 +0000 (5 14:52 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Nov 2010 14:40:08 +0000 (16 08:40 -0600)
treeb907d279ad4e9c7f99c30d0f71979cd65b519101
parent27a6375de3edece2e5d115847d54c01e52331f7e
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