diff options
author | Timur Celik <mail@timurcelik.de> | 2019-02-23 12:53:13 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-24 22:11:53 -0800 |
commit | 71828b2240692cec0e68b8d867bc00e1745e7fae (patch) | |
tree | 5a20187191aaf271f6d39b65407c62e0dbd9c389 /net/dsa | |
parent | cffde20164d2a1e7d647b63b4d8fac11bf48b500 (diff) |
tun: fix blocking read
This patch moves setting of the current state into the loop. Otherwise
the task may end up in a busy wait loop if none of the break conditions
are met.
Signed-off-by: Timur Celik <mail@timurcelik.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions