From: Kees Cook <keesc...@chromium.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 <keesc...@chromium.org> Applied.