aboutsummaryrefslogtreecommitdiff
path: root/kernel/ksysfs.c
diff options
context:
space:
mode:
authorEric W. Biederman2009-01-20 11:00:40 +0000
committerDavid S. Miller2009-01-21 16:00:44 -0800
commit631ab46b79559d6fed784fd7883c0cda4d8cfcfa (patch)
tree8f78e43c4b5adf223254da3315f4957ac629a38a /kernel/ksysfs.c
parenteac9e902658dab1e097b8ef064e9e3d16c152cc9 (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 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions