Skip to content

Commit 6934d33

Browse files
tsbogenddavem330
authored andcommitted
hso: IP checksuming doesn't work on GE0301 option cards
There is definitly a problem, that some option cards send up broken IP pakets leading to corrupted IP packets. These corruptions aren't detected, because the driver claims that the packets are already checksummed. This change removes the CHECKSUM_UNNECESSARY option and let IP detect broken data. Signed-off-by: Thomas Bogendoerfer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 78347c8 commit 6934d33

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/usb/hso.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -958,10 +958,6 @@ static void packetizeRx(struct hso_net *odev, unsigned char *ip_pkt,
958958
/* Packet is complete. Inject into stack. */
959959
/* We have IP packet here */
960960
odev->skb_rx_buf->protocol = cpu_to_be16(ETH_P_IP);
961-
/* don't check it */
962-
odev->skb_rx_buf->ip_summed =
963-
CHECKSUM_UNNECESSARY;
964-
965961
skb_reset_mac_header(odev->skb_rx_buf);
966962

967963
/* Ship it off to the kernel */

0 commit comments

Comments
 (0)