projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fbc5b2
)
firewire net: Ensure checksumming in upper layer.
author
YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@linux-ipv6.org>
Sat, 19 Jan 2013 21:43:40 +0000
(21:43 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 21 Jan 2013 04:16:03 +0000
(23:16 -0500)
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>
drivers/firewire/net.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/net.c
b/drivers/firewire/net.c
index e7a711f53a6f7cd8f0b1316d324034b1ca2acc1c..df6a1caea7b6890e5b6d85b31c7c83a5cff55ddc 100644
(file)
--- a/
drivers/firewire/net.c
+++ b/
drivers/firewire/net.c
@@
-520,7
+520,7
@@
static int fwnet_finish_incoming_packet(struct net_device *net,
dev = netdev_priv(net);
/* Write metadata, and then pass to the receive level */
skb->dev = net;
- skb->ip_summed = CHECKSUM_
UNNECESSARY; /* don't check it */
+ skb->ip_summed = CHECKSUM_
NONE;
/*
* Parse the encapsulation header. This actually does the job of