aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorDaniel Jurgens <[email protected]>2019-02-02 11:09:42 +0200
committerJason Gunthorpe <[email protected]>2019-02-08 16:24:44 -0700
commitd60667fc398ed34b3c7456b020481c55c760e503 (patch)
treef8c8fec5b7dd771bd13775352fbaa0d6749c6188 /lib/mpi/mpi-cmp.c
parent0c236606490b5b356ac3bb885b6417ce09bce63f (diff)
IB/core: Unregister notifier before freeing MAD security
If the notifier runs after the security context is freed an access of freed memory can occur. Fixes: 47a2b338fe63 ("IB/core: Enforce security on management datagrams") Signed-off-by: Daniel Jurgens <[email protected]> Reviewed-by: Parav Pandit <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions