[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170509.094000.1855173097217010339.davem@davemloft.net>
Date: Tue, 09 May 2017 09:40:00 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: keescook@...omium.org
Cc: linux-kernel@...r.kernel.org,
linux-decnet-user@...ts.sourceforge.net, netdev@...r.kernel.org
Subject: Re: [PATCH] DECnet: Use container_of() for embedded struct
From: Kees Cook <keescook@...omium.org>
Date: Mon, 8 May 2017 15:31:44 -0700
> Instead of a direct cross-type cast, use conatiner_of() to locate
> the embedded structure, even in the face of future struct layout
> randomization.
>
> Signed-off-by: Kees Cook <keescook@...omium.org>
Applied.
Powered by blists - more mailing lists