can: add missing initialisations in CAN related skbuffs
[pandora-kernel.git] / net / can / af_can.c
index 0ce2ad0..7d9dff2 100644 (file)
@@ -244,6 +244,9 @@ int can_send(struct sk_buff *skb, int loop)
        }
 
        skb->protocol = htons(ETH_P_CAN);
+       skb->ip_summed = CHECKSUM_UNNECESSARY;
+
+       skb_reset_mac_header(skb);
        skb_reset_network_header(skb);
        skb_reset_transport_header(skb);