mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
16 KiB
16 KiB