Skip to content

Fix multiple issues on the TX path of CAN ISO-TP sockets

JIRA: https://issues.redhat.com/browse/RHEL-39584

Issue 1

Due to improper synchronization of the TX buffer, multiple processes
using the same CAN ISO-TP socket can access the TX buffer
simultaneously, leading to corruption of the transmitted data.

Issue 2

When a large chunk of data is sent and the receiver does not send a Flow
Control frame back in time, the sendmsg() call does not return an error
code, and instead returns the number of bytes sent corresponding to the
size of the packet.

Signed-off-by: Radu Rendec rrendec@redhat.com

Merge request reports