From: Michael S. Tsirkin Date: Sun, 6 Oct 2013 18:25:12 +0000 (+0300) Subject: tun: don't look at current when non-blocking X-Git-Tag: v3.12-rc7~20^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c0c52c9102f90c9d5674fb6c5f4f23e3019dd9f;p=pandora-kernel.git tun: don't look at current when non-blocking 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 Acked-by: Jason Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed