aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDave Kleikamp <[email protected]>2022-01-26 14:32:43 -0600
committerJarkko Sakkinen <[email protected]>2022-03-08 13:55:52 +0200
commitc5d1ed846e15090bc90dfdaafc07eac066e070bb (patch)
treef642dfe94775596095ca530a6b14fb7702c00191 /net/lapb/lapb_subr.c
parent969a26446bcd142faedfe8c6f41cd7668596c1fa (diff)
KEYS: trusted: Avoid calling null function trusted_key_exit
If one loads and unloads the trusted module, trusted_key_exit can be NULL. Call it through static_call_cond() to avoid a kernel trap. Fixes: 5d0682be3189 ("KEYS: trusted: Add generic trusted keys framework") Signed-off-by: Dave Kleikamp <[email protected]> Cc: Sumit Garg <[email protected]> Cc: James Bottomley <[email protected]> Cc: Jarkko Sakkinen <[email protected]> Cc: Mimi Zohar <[email protected]> Cc: David Howells <[email protected]> Cc: James Morris <[email protected]> Cc: "Serge E. Hallyn" <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions