diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-01-20 11:00:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 16:00:44 -0800 |
commit | 631ab46b79559d6fed784fd7883c0cda4d8cfcfa (patch) | |
tree | 8f78e43c4b5adf223254da3315f4957ac629a38a /arch/alpha/include | |
parent | eac9e902658dab1e097b8ef064e9e3d16c152cc9 (diff) |
tun: Introduce tun_file
Currently the tun code suffers from only having a single word of
data that exists for the entire life of the tun file descriptor.
This results in peculiar holding of references to the network namespace
as well as races between free_netdevice and tun_chr_close.
Fix this by introducing tun_file which will hold the per file state.
For the moment it still holds just a single word so the differences
are all logic changes with no changes in semantics.
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/alpha/include')
0 files changed, 0 insertions, 0 deletions