Skip to content
Commit fd704bd5 authored by Willem de Bruijn's avatar Willem de Bruijn Committed by Marc Kleine-Budde
Browse files

can: purge socket error queue on sock destruct

CAN supports software tx timestamps as of the below commit. Purge
any queued timestamp packets on socket destroy.

Fixes: 51f31cab

 ("ip: support for TX timestamps on UDP and RAW sockets")
Reported-by: default avatar <syzbot+a90604060cb40f5bdd16@syzkaller.appspotmail.com>
Signed-off-by: default avatarWillem de Bruijn <willemb@google.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent eb503004
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment