lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1487353377.1311.85.camel@edumazet-glaptop3.roam.corp.google.com>
Date:   Fri, 17 Feb 2017 09:42:57 -0800
From:   Eric Dumazet <eric.dumazet@...il.com>
To:     fgao@...ai8.com
Cc:     davem@...emloft.net, jhs@...atatu.com, netdev@...r.kernel.org,
        gfree.wind@...il.com
Subject: Re: [PATCH net-next 1/1] pkt_sched: Remove useless qdisc_stab_lock

On Fri, 2017-02-17 at 14:34 +0800, fgao@...ai8.com wrote:
> From: Gao Feng <fgao@...ai8.com>
> 
> The qdisc_stab_lock is used in qdisc_get_stab and qdisc_put_stab.
> These two functions are invoked in qdisc_create, qdisc_change, and
> qdisc_destroy which run fully under RTNL.
> 
> So it already makes sure only one could access the qdisc_stab_list at
> the same time. Then it is unnecessary to use qdisc_stab_lock now.
> 
> Signed-off-by: Gao Feng <fgao@...ai8.com>
> ---

Acked-by: Eric Dumazet <edumazet@...gle.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ