hartkopp / can-isotp

Linux Kernel Module for ISO 15765-2:2016 CAN transport protocol PLEASE NOTE: This module is part of the mainline Linux kernel since version 5.10
Other
239 stars 69 forks source link

isotp: do not validate RX address when the broadcast flag is active #37

Closed Thomseeen closed 3 years ago

Thomseeen commented 3 years ago

EADDRNOTAVAIL shouldn't be thrown when an invalid RX address (e.g. NO_CAN_ID) is set while the socket is used with the CAN_ISOTP_SF_BROADCAST flag.

Signed-off-by: Thomas Wagner thwa1@web.de

Thomseeen commented 3 years ago

I hope this way squashing the commits as requested by Marc is easier. Sorry for the mess-up.

Thomseeen commented 3 years ago

Merged from the kernel mail list in 748f8efe84ab7c27496d8c8165f28892ba0e8868.

hartkopp commented 3 years ago

Oh, sorry that I've overlooked this PR. At least I was able to do some "git magic" to attribute you as author in https://github.com/hartkopp/can-isotp/commit/748f8efe84ab7c27496d8c8165f28892ba0e8868 :-)