Home
last modified time | relevance | path

Searched hist:f2f527d595963aa86464ca3e05ec27dd5153d56e (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/can/
H A Draw.cdiff f2f527d595963aa86464ca3e05ec27dd5153d56e Fri Feb 03 03:08:07 CST 2023 Oliver Hartkopp <socketcan@hartkopp.net> can: raw: use temp variable instead of rolling back config

Introduce a temporary variable to check for an invalid configuration
attempt from user space. Before this patch the value was copied to
the real config variable and rolled back in the case of an error.

Suggested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://lore.kernel.org/all/20230203090807.97100-1-socketcan@hartkopp.net
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>