diff options
author | Daniel Jurgens <danielj@mellanox.com> | 2019-02-02 11:09:42 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-08 16:24:44 -0700 |
commit | d60667fc398ed34b3c7456b020481c55c760e503 (patch) | |
tree | f8c8fec5b7dd771bd13775352fbaa0d6749c6188 /drivers/hwmon/lm63.c | |
parent | IB/usnic: Fix locking when unregistering (diff) | |
download | linux-dev-d60667fc398ed34b3c7456b020481c55c760e503.tar.xz linux-dev-d60667fc398ed34b3c7456b020481c55c760e503.zip |
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 <danielj@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/hwmon/lm63.c')
0 files changed, 0 insertions, 0 deletions