From: Thomas Gleixner Date: Wed, 14 Oct 2009 08:19:46 +0000 (-0700) Subject: net: Remove BKL from tun X-Git-Tag: v2.6.33-rc1~388^2~803 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deed49fbb68d7d07ec6c3dfd06bffc74e9abc6fa;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed