lkml.org 
[lkml]   [2009]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [patch 03/28] net: Remove BKL from tun
    From
    From: Thomas Gleixner <tglx@linutronix.de>
    Date: Sat, 10 Oct 2009 15:35:33 -0000

    > 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>

    Applied to net-next-2.6, thanks!


    \
     
     \ /
      Last update: 2009-10-14 10:29    [W:0.021 / U:0.152 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site