[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170711.133114.2003805526568564614.davem@davemloft.net>
Date: Tue, 11 Jul 2017 13:31:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: sowmini.varadhan@...cle.com, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
mitr@...hat.com
Subject: Re: [GIT] Networking
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Mon, 10 Jul 2017 22:00:48 +0800
> crypto: af_alg - Avoid sock_graft call warning
>
> The newly added sock_graft warning triggers in af_alg_accept.
> It's harmless as we're essentially doing sock->sk = sock->sk.
>
> The sock_graft call is actually redundant because all the work
> it does is subsumed by sock_init_data. However, it was added
> to placate SELinux as it uses it to initialise its internal state.
>
> This patch avoisd the warning by making the SELinux call directly.
>
> Reported-by: Linus Torvalds <torvalds@...ux-foundation.org>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Acked-by: David S. Miller <davem@...emloft.net>
Looks good, is this going via my tree or your's?
Powered by blists - more mailing lists