Re: [PATCH] can: isotp: remove re-binding of bound socket

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

 



[x] can+stable please!

Many thanks,
Oliver

On 28.04.22 08:54, Marc Kleine-Budde wrote:
Hello Oliver,

On 22.04.2022 10:23:37, Oliver Hartkopp wrote:
As a carry over from the CAN_RAW socket (which allows to change the CAN
interface while mantaining the filter setup) the re-binding of the
CAN_ISOTP socket needs to take care about CAN ID address information and
subscriptions. It turned out that this feature is so limited (e.g. the
sockopts remain fix) that it finally has never been needed/used.

In opposite to the stateless CAN_RAW socket the switching of the CAN ID
subscriptions might additionally lead to an interrupted ongoing PDU
reception. So better remove this unneeded complexity.

Fixes: e057dd3fc20f ("can: add ISO 15765-2:2016 transport protocol")
Signed-off-by: Oliver Hartkopp <socketcan@xxxxxxxxxxxx>

Which branch should I apply the patch to?

[ ] can
[ ] can+stable
[ ] can-next

regards,
Marc




[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