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);

At the same moment there is no testing can_dlc for values > 8 in 
sja1000_rx (sja1000.c)

Could you suggest something?

Pavel Cheblakov,
The Budker Institute of Nuclear Physics
Novosibirsk, Russia
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to