incorrect return values to user space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

It seems that when we send a long message over the ISO-TP (ISO-15765-2, module can-isotp), the write() function always returns error code 0.
However, if no FlowControl frame is received from the peer, the documentation (https://elixir.bootlin.com/linux/latest/source/net/can/isotp.c#L10) says it should return ECOMM error.

Below is a pull request I made on the can-isotp module which was integrated to the mainline kernel, however it doesn't seems to be the right place to fix it.
Could you please let me know on which repository this fix should be requested/committed, in order to improve it?

https://github.com/hartkopp/can-isotp/pull/43

Thank you in advance for your feedback,

Guillaume






[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux