Re: [PATCH] can: raw: add missing error queue support

2020-10-04 Thread Marc Kleine-Budde
On 9/26/20 6:24 PM, Vincent Mailhol wrote: > Error queue are not yet implemented in CAN-raw sockets. > > The problem: a userland call to recvmsg(soc, msg, MSG_ERRQUEUE) on a > CAN-raw socket would unqueue messages from the normal queue without > any kind of error or warning. As such, it prevented

Re: [PATCH] can: raw: add missing error queue support

2020-10-01 Thread Oliver Hartkopp
On 26.09.20 18:24, Vincent Mailhol wrote: Error queue are not yet implemented in CAN-raw sockets. The problem: a userland call to recvmsg(soc, msg, MSG_ERRQUEUE) on a CAN-raw socket would unqueue messages from the normal queue without any kind of error or warning. As such, it prevented CAN dr

[PATCH] can: raw: add missing error queue support

2020-09-26 Thread Vincent Mailhol
Error queue are not yet implemented in CAN-raw sockets. The problem: a userland call to recvmsg(soc, msg, MSG_ERRQUEUE) on a CAN-raw socket would unqueue messages from the normal queue without any kind of error or warning. As such, it prevented CAN drivers from using the functionalities that relie