diff options
| author | Jakub Kicinski <[email protected]> | 2025-01-15 16:14:36 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-01-16 12:15:40 +0000 |
| commit | a50da36562cd62b41de9bef08edbb3e8af00f118 (patch) | |
| tree | aa47a97312bb935661ec671f2379ea62751388e6 /drivers/net/wwan/iosm/iosm_ipc_pcie.c | |
| parent | Merge branch 'mlx5-misc-fixes-2025-01-15' (diff) | |
| download | kernel-a50da36562cd62b41de9bef08edbb3e8af00f118.tar.gz kernel-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 <[email protected]>
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 <[email protected]>
Reviewed-by: Mina Almasry <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_pcie.c')
0 files changed, 0 insertions, 0 deletions
