diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-10-06 21:25:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-08 15:38:35 -0400 |
commit | 5c0c52c9102f90c9d5674fb6c5f4f23e3019dd9f (patch) | |
tree | e3548b8081b5a25b0bf9e8460325657e489421a2 /net | |
parent | 66e358a84738ce93e192caed0e09bd44f26e48eb (diff) | |
download | linux-5c0c52c9102f90c9d5674fb6c5f4f23e3019dd9f.tar.bz2 |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions