Re: [PATCH] tun: fix blocking read

From: David Miller
Date: Mon Feb 25 2019 - 01:12:40 EST


From: Timur Celik <mail@xxxxxxxxxxxxx>
Date: Sat, 23 Feb 2019 12:53:13 +0100

> This patch moves setting of the current state into the loop. Otherwise
> the task may end up in a busy wait loop if none of the break conditions
> are met.
>
> Signed-off-by: Timur Celik <mail@xxxxxxxxxxxxx>

Applied and queued up for -stable, thanks.