On Wed, Dec 2, 2009 at 12:20 PM, P.B.Cheblakov <[email protected]> wrote:
> Hi!
>
> I have a some problem and need a help!
> We experiment with pulse device which is controlled via CAN.
> We use sja1000-based CAN-controller and BUG_ON take place periodically.
> I suppose that the pulse device generates breakthrough and sja1000
> receives can-frame with can_dlc greater than 8. And it causes a BUG_ON
> in can_rcv function (af_can.c):
> BUG_ON(skb->len != sizeof(struct can_frame) || cf->can_dlc > 8);
Are you sure that this is generated by the second expression?
It can be from skb->len != sizeof(struct can_frame), you can put some
printk's in order to be sure :)

Daniel.
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to