Centos-kernel-stream-9/net/can
Radu Rendec c6f86d2685 can: raw: raw_getsockopt(): reduce scope of err
JIRA: https://issues.redhat.com/browse/RHEL-84144

commit 00bf80c437dcbbd808d61cc2866c8f065ff436bd
Author: Marc Kleine-Budde <mkl@pengutronix.de>
Date:   Tue Feb 20 09:16:16 2024 +0100

    can: raw: raw_getsockopt(): reduce scope of err

    Reduce the scope of the variable "err" to the individual cases. This
    is to avoid the mistake of setting "err" in the mistaken belief that
    it will be evaluated later.

    Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
    Link: https://lore.kernel.org/all/20240220-raw-setsockopt-v1-1-7d34cb1377fc@pengutronix.de
    Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

Signed-off-by: Radu Rendec <rrendec@redhat.com>
2025-03-19 15:14:54 -04:00
..
j1939 can: j1939: avoid possible use-after-free when j1939_can_rx_register fails 2025-03-19 15:14:53 -04:00
Kconfig net: Kconfig: move the CAN device menu to the "Device Drivers" section 2023-01-20 15:58:09 -07:00
Makefile can: add ISO 15765-2:2016 transport protocol 2020-10-07 23:18:33 +02:00
af_can.c can: canxl: add virtual CAN network identifier support 2025-03-19 15:14:54 -04:00
af_can.h can: introduce CAN midlayer private and allocate it automatically 2019-09-04 13:29:14 +02:00
bcm.c can: bcm: add recvmsg flags for own, local and remote traffic 2025-03-19 15:14:54 -04:00
gw.c can: gw: give feedback on missing CGW_FLAGS_CAN_IIF_TX_OK flag 2025-03-19 15:14:52 -04:00
isotp.c can: isotp: support dynamic flow control parameters 2025-03-19 15:14:54 -04:00
proc.c proc: remove PDE_DATA() completely 2022-04-08 17:38:02 +02:00
raw.c can: raw: raw_getsockopt(): reduce scope of err 2025-03-19 15:14:54 -04:00