aboutsummaryrefslogtreecommitdiff
path: root/net/can/af_can.c
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2015-03-30 11:38:40 +0800
committerAlex Shi <alex.shi@linaro.org>2015-03-30 11:38:40 +0800
commit88720d8b842c59efcc0c4dc17e2107f4dae502f5 (patch)
tree967e60ace88cd9e4f9819042eedf3be6a445bb54 /net/can/af_can.c
parentba0bfedf4c9cad58f56a7038d1462ffc21cd33df (diff)
parent73895725a9401bd3454757fcfa7d691270ac7498 (diff)
Merge tag 'v3.10.73' into linux-linaro-lskHEADlinux-linaro-lsk
This is the 3.10.73 stable release
Diffstat (limited to 'net/can/af_can.c')
-rw-r--r--net/can/af_can.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/can/af_can.c b/net/can/af_can.c
index f59859a3f562..d3668c55b088 100644
--- a/net/can/af_can.c
+++ b/net/can/af_can.c
@@ -262,6 +262,9 @@ int can_send(struct sk_buff *skb, int loop)
goto inval_skb;
}
+ skb->ip_summed = CHECKSUM_UNNECESSARY;
+
+ skb_reset_mac_header(skb);
skb_reset_network_header(skb);
skb_reset_transport_header(skb);