diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-01-20 14:03:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-22 03:00:46 +0300 |
commit | b2430de37ef0bc0799ffba7b5219d38ca417eb76 (patch) | |
tree | 19a5a5103ed2227f230aa06f87dc7807e871d5b5 /init/version.c | |
parent | 38231b7a8d1b74c920822640d1ce8eb8046377fb (diff) | |
download | linux-b2430de37ef0bc0799ffba7b5219d38ca417eb76.tar.xz |
tun: Move read_wait into tun_file
The poll interface requires that the waitqueue exist while the struct
file is open. In the rare case when a tun device disappears before
the tun file closes we fail to provide this property, so move
read_wait.
This is safe now that tun_net_xmit is atomic with tun_detach.
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init/version.c')
0 files changed, 0 insertions, 0 deletions