commit | 5c0c52c9102f90c9d5674fb6c5f4f23e3019dd9f | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Sun Oct 06 21:25:12 2013 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 08 15:38:35 2013 -0400 |
tree | e3548b8081b5a25b0bf9e8460325657e489421a2 | |
parent | 66e358a84738ce93e192caed0e09bd44f26e48eb [diff] |
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 <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>