dschanoeh / socketcand

A deprecated fork of socketcand. Please got to linux-can for the latest version.
https://github.com/linux-can/socketcand
131 stars 40 forks source link

ENOBUFS handling #8

Open yegorich opened 10 years ago

yegorich commented 10 years ago

If too many frames will be sent over the SocketCAN interface, send() comes with -1 and errno is set to ENOBUFS. Some of the can-utils (cangen) provide extra option to ignore this error. If such an error occurs cangen would just resend the CAN frame in question.

This question (http://dics.voicecontrol.ro/process_mails/arata_discutia/173374/[PATCH]_candump:_add_option_to_ignore_ENOBUFS.html) was once brought up on the linux-can mailing list, but still there is no official solution for this issue.