diff options
| author | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> | 2013-01-19 16:43:40 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-01-20 23:16:03 -0500 |
| commit | b577d7e2ad50cfbf43b648e34128a5c231cc5236 (patch) | |
| tree | ce78beb70971b634052affceb0caea411bc31a5b /drivers/firewire | |
| parent | 4fbc5b20e2715997a1b5e634543e8cac9aa36d4c (diff) | |
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>
Diffstat (limited to 'drivers/firewire')
| -rw-r--r-- | drivers/firewire/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c index e7a711f53a6f..df6a1caea7b6 100644 --- a/drivers/firewire/net.c +++ b/drivers/firewire/net.c | |||
| @@ -520,7 +520,7 @@ static int fwnet_finish_incoming_packet(struct net_device *net, | |||
| 520 | dev = netdev_priv(net); | 520 | dev = netdev_priv(net); |
| 521 | /* Write metadata, and then pass to the receive level */ | 521 | /* Write metadata, and then pass to the receive level */ |
| 522 | skb->dev = net; | 522 | skb->dev = net; |
| 523 | skb->ip_summed = CHECKSUM_UNNECESSARY; /* don't check it */ | 523 | skb->ip_summed = CHECKSUM_NONE; |
| 524 | 524 | ||
| 525 | /* | 525 | /* |
| 526 | * Parse the encapsulation header. This actually does the job of | 526 | * Parse the encapsulation header. This actually does the job of |
