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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190321140902.GN2087@nanopsycho>
Date:   Thu, 21 Mar 2019 15:09:02 +0100
From:   Jiri Pirko <jiri@...nulli.us>
To:     Vlad Buslov <vladbu@...lanox.com>
Cc:     netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
        davem@...emloft.net, sbrivio@...hat.com
Subject: Re: [PATCH net-next v3 10/12] net: sched: flower: protect flower
 classifier state with spinlock

Thu, Mar 21, 2019 at 02:17:42PM CET, vladbu@...lanox.com wrote:
>struct tcf_proto was extended with spinlock to be used by classifiers
>instead of global rtnl lock. Use it to protect shared flower classifier
>data structures (handle_idr, mask hashtable and list) and fields of
>individual filters that can be accessed concurrently. This patch set uses
>tcf_proto->lock as per instance lock that protects all filters on
>tcf_proto.
>
>Signed-off-by: Vlad Buslov <vladbu@...lanox.com>
>Reviewed-by: Stefano Brivio <sbrivio@...hat.com>

Acked-by: Jiri Pirko <jiri@...lanox.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ