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]
Date:   Mon, 28 May 2018 16:30:00 +0200
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, ast@...nel.org, daniel@...earbox.net,
        kliteyn@...lanox.com
Subject: Re: [PATCH v3 07/11] net: sched: implement reference counted action
 release

Sun, May 27, 2018 at 11:17:25PM CEST, vladbu@...lanox.com wrote:
>Implement helper delete function that uses new action ops 'delete', instead
>of destroying action directly. This is required so act API could delete
>actions by index, without holding any references to action that is being
>deleted.
>
>Implement function __tcf_action_put() that releases reference to action and
>frees it, if necessary. Refactor action deletion code to use new put
>function and not to rely on rtnl lock. Remove rtnl lock assertions that are
>no longer needed.
>
>Signed-off-by: Vlad Buslov <vladbu@...lanox.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ