summaryrefslogtreecommitdiffstats
path: root/net/key
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-01-15 17:14:36 +0100
committerPaolo Abeni <pabeni@redhat.com>2025-01-16 13:15:40 +0100
commita50da36562cd62b41de9bef08edbb3e8af00f118 (patch)
treeaa47a97312bb935661ec671f2379ea62751388e6 /net/key
parentMerge branch 'mlx5-misc-fixes-2025-01-15' (diff)
downloadlinux-a50da36562cd62b41de9bef08edbb3e8af00f118.tar.xz
linux-a50da36562cd62b41de9bef08edbb3e8af00f118.zip
netdev: avoid CFI problems with sock priv helpers
Li Li reports that casting away callback type may cause issues for CFI. Let's generate a small wrapper for each callback, to make sure compiler sees the anticipated types. Reported-by: Li Li <dualli@chromium.org> Link: https://lore.kernel.org/CANBPYPjQVqmzZ4J=rVQX87a9iuwmaetULwbK_5_3YWk2eGzkaA@mail.gmail.com Fixes: 170aafe35cb9 ("netdev: support binding dma-buf to netdevice") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Mina Almasry <almasrymina@google.com> Link: https://patch.msgid.link/20250115161436.648646-1-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions