Skip to content

Commit b577d7e

Browse files
yoshfujidavem330
authored andcommitted
firewire net: Ensure checksumming in upper layer.
It is wrong to set skb->ip_summed to CHECKSUM_UNNECESSARY unless the device has already checked it. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4fbc5b2 commit b577d7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/firewire/net.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
520520
dev = netdev_priv(net);
521521
/* Write metadata, and then pass to the receive level */
522522
skb->dev = net;
523-
skb->ip_summed = CHECKSUM_UNNECESSARY; /* don't check it */
523+
skb->ip_summed = CHECKSUM_NONE;
524524

525525
/*
526526
* Parse the encapsulation header. This actually does the job of

0 commit comments

Comments
 (0)