Re: [PATCH] tun: don't look at current when non-blocking

From: David Miller
Date: Tue Oct 08 2013 - 15:46:20 EST


From: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
Date: Sun, 6 Oct 2013 21:25:12 +0300

> We play with a wait queue even if socket is
> non blocking. This is an obvious waste.
> Besides, it will prevent calling the non blocking
> variant when current is not valid.
>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>

Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/