summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorThomas Gleixner2009-10-14 10:19:46 +0200
committerDavid S. Miller2009-10-14 10:19:46 +0200
commitdeed49fbb68d7d07ec6c3dfd06bffc74e9abc6fa (patch)
treee9cb9de1f67f7cdd47f57237b4fa6c1d51ab9941 /net
parentMerge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne... (diff)
downloadkernel-qcow2-linux-deed49fbb68d7d07ec6c3dfd06bffc74e9abc6fa.tar.gz
kernel-qcow2-linux-deed49fbb68d7d07ec6c3dfd06bffc74e9abc6fa.tar.xz
kernel-qcow2-linux-deed49fbb68d7d07ec6c3dfd06bffc74e9abc6fa.zip
net: Remove BKL from tun
The lock_kernel/unlock_kernel() in cycle_kernel_lock() which is called in tun_chr_open() is not serializing against anything and safe to remove. tun_chr_fasync() is serialized by get/put_tun() and fasync_helper() has no dependency on BKL. The modification of tun->flags is racy with and without the BKL so removing it does not make it worse. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions