can: isotp: isotp_recvmsg(): use sock_recv_cmsgs() to get SOCK_RXQ_OVFL infos
authorOliver Hartkopp <socketcan@hartkopp.net>
Thu, 30 Mar 2023 17:02:48 +0000 (19:02 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 5 Apr 2023 08:52:00 +0000 (10:52 +0200)
commit0145462fc802cd447ef5d029758043c7f15b4b1e
tree340d578b9ea668b610b09bd50173a1beeaafd2c9
parentb45193cb4df556fe6251b285a5ce44046dd36b4a
can: isotp: isotp_recvmsg(): use sock_recv_cmsgs() to get SOCK_RXQ_OVFL infos

isotp.c was still using sock_recv_timestamp() which does not provide
control messages to detect dropped PDUs in the receive path.

Fixes: e057dd3fc20f ("can: add ISO 15765-2:2016 transport protocol")
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://lore.kernel.org/all/20230330170248.62342-1-socketcan@hartkopp.net
Cc: stable@vger.kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/isotp.c