Skip to content
Commit 32fc4a9a authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Johannes Berg
Browse files

cfg80211: fix callback type mismatches in wext-compat



Instead of casting callback functions to type iw_handler, which trips
indirect call checking with Clang's Control-Flow Integrity (CFI), add
stub functions with the correct function type for the callbacks.

Reported-by: default avatarSedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20201117205902.405316-1-samitolvanen@google.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent c7ed0e68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment