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]
Date:   Tue, 27 Feb 2018 11:24:44 +0100
From:   Stefan Schmidt <stefan@....samsung.com>
To:     Kirill Tkhai <ktkhai@...tuozzo.com>, davem@...emloft.net,
        pablo@...filter.org, kadlec@...ckhole.kfki.hu, fw@...len.de,
        netdev@...r.kernel.org, kvalo@...eaurora.org, edumazet@...gle.com,
        jhs@...atatu.com, xiyou.wangcong@...il.com, jiri@...nulli.us,
        mostrows@...thlink.net, alex.aring@...il.com, avagin@...tuozzo.com
Subject: Re: [PATCH net-next 20/28] net: Convert cfg802154_pernet_ops

Hello.


On 02/26/2018 02:02 PM, Kirill Tkhai wrote:
> These pernet_operations have only exit method, which
> moves devices from cfg802154_rdev_list to init_net.
> This may occur in any time from nl802154_wpan_phy_netns(),
> so we are nice with rtnl_lock() synchronization.
>
> Signed-off-by: Kirill Tkhai <ktkhai@...tuozzo.com>
> ---
>  net/ieee802154/core.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/net/ieee802154/core.c b/net/ieee802154/core.c
> index cb7176cd4cd6..9104943c15ba 100644
> --- a/net/ieee802154/core.c
> +++ b/net/ieee802154/core.c
> @@ -345,6 +345,7 @@ static void __net_exit cfg802154_pernet_exit(struct net *net)
>  
>  static struct pernet_operations cfg802154_pernet_ops = {
>  	.exit = cfg802154_pernet_exit,
> +	.async = true,
>  };
>  
>  static int __init wpan_phy_class_init(void)
>


Acked-by: Stefan Schmidt <stefan@....samsung.com>

regards
Stefan Schmidt

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ