summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2024-02-19 21:00:21 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2024-02-20 08:20:42 +0100
commitc8fba5d6df5e476aa791db4f1f014dad2bb5e904 (patch)
tree18d8a088aa2ca073851ee84de423e8a2c63e5bb9 /net/unix/af_unix.c
parenta93fca920167755db7e931f9b302b355edec910a (diff)
can: raw: fix getsockopt() for new CAN_RAW_XL_VCID_OPTS
The code for the CAN_RAW_XL_VCID_OPTS getsockopt() was incompletely adopted from the CAN_RAW_FILTER getsockopt(). Add the missing put_user() and return statements. Flagged by Smatch. Fixes: c83c22ec1493 ("can: canxl: add virtual CAN network identifier support") Reported-by: Simon Horman <horms@kernel.org> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Link: https://lore.kernel.org/all/20240219200021.12113-1-socketcan@hartkopp.net Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions