Re: [PATCH net-next V8 1/2] ptp: ptp_read should not release queue

From: Richard Cochran
Date: Tue Nov 07 2023 - 01:13:08 EST


On Mon, Nov 06, 2023 at 10:31:27PM +0800, Edward Adam Davis wrote:
> Firstly, queue is not the memory allocated in ptp_read;
> Secondly, other processes may block at ptp_read and wait for conditions to be
> met to perform read operations.
>
> Reported-and-tested-by: syzbot+df3f3ef31f60781fa911@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 8f5de6fb2453 ("ptp: support multiple timestamp event readers")
> Signed-off-by: Edward Adam Davis <eadavis@xxxxxx>

(This should go to net and not net-next.)

Acked-by: Richard Cochran <richardcochran@xxxxxxxxx>