diff options
author | Parav Pandit <parav@mellanox.com> | 2018-02-25 13:39:56 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-02-28 12:10:32 -0700 |
commit | 2fb4f4eadd180a50112618dd9c5fef7fc50d4f08 (patch) | |
tree | c10ceb65609ea83653be50e6548afa212b425902 /drivers/cpufreq/cpufreq_conservative.c | |
parent | IB/mlx: Set slid to zero in Ethernet completion struct (diff) | |
download | linux-dev-2fb4f4eadd180a50112618dd9c5fef7fc50d4f08.tar.xz linux-dev-2fb4f4eadd180a50112618dd9c5fef7fc50d4f08.zip |
IB/core: Fix missing RDMA cgroups release in case of failure to register device
During IB device registration process, if query_device() fails or if
ib_core fails to registers sysfs entries, rdma cgroup cleanup is
skipped.
Cc: <stable@vger.kernel.org> # v4.2+
Fixes: 4be3a4fa51f4 ("IB/core: Fix kernel crash during fail to initialize device")
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_conservative.c')
0 files changed, 0 insertions, 0 deletions