[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1353.1556142870@warthog.procyon.org.uk>
Date: Wed, 24 Apr 2019 22:54:30 +0100
From: David Howells <dhowells@...hat.com>
To: unlisted-recipients:; (no To-header on input)
Cc: dhowells@...hat.com, ebiederm@...ssion.com, netdev@...r.kernel.org,
linux-nfs@...r.kernel.org, linux-cifs@...r.kernel.org,
linux-afs@...ts.infradead.org, keyrings@...r.kernel.org,
linux-security-module@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
dwalsh@...hat.com, vgoyal@...hat.com
Subject: Re: [PATCH 10/11] keys: Network namespace domain tag
David Howells <dhowells@...hat.com> wrote:
> @@ -385,10 +392,20 @@ static struct net *net_alloc(void)
> if (!net)
> goto out_free;
>
> +#ifdef CONFIG_KEYS
> + net->key_domain = kzalloc(sizeof(struct key_tag), GFP_KERNEL);
> + if (!net->key_domain)
> + goto out_free_2;
> +#endif
Initialisation of net->key_domain->usage to 1 is needed here. I've fixed that
and repushed the patches to the branch.
David
Powered by blists - more mailing lists