diff options
| author | Alex Gartrell <[email protected]> | 2014-12-25 23:22:49 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-12-31 14:14:54 -0500 |
| commit | 957f094f221f81e457133b1f4c4d95ffa49ff731 (patch) | |
| tree | 874c464154b76e2088a98a3f189c9592e2933dfe /tools/perf/scripts/python | |
| parent | 87897931c83038af4931990af5b9365b41829921 (diff) | |
tun: return proper error code from tun_do_read
Instead of -1 with EAGAIN, read on a O_NONBLOCK tun fd will return 0. This
fixes this by properly returning the error code from __skb_recv_datagram.
Signed-off-by: Alex Gartrell <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions