diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2023-04-06 13:08:45 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-05-15 22:24:46 +0200 |
commit | db2773d65b02aed319a93efdfb958087771d4e19 (patch) | |
tree | 0d2789b4e1bee2c75753fdbbdd663a94391cbab1 /fs/stat.c | |
parent | df0acdc59b094cdaef19b1c8d83c9721082bab7b (diff) |
can: isotp: recvmsg(): allow MSG_CMSG_COMPAT flag
The control message provided by isotp support MSG_CMSG_COMPAT but
blocked recvmsg() syscalls that have set this flag, i.e. on 32bit user
space on 64 bit kernels.
Link: https://github.com/hartkopp/can-isotp/issues/59
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Suggested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Fixes: 42bf50a1795a ("can: isotp: support MSG_TRUNC flag when reading from socket")
Link: https://lore.kernel.org/20230505110308.81087-2-mkl@pengutronix.de
Cc: stable@vger.kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions