summaryrefslogtreecommitdiffstats
path: root/fs/stat.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-10-17 13:19:27 +0300
committerDoug Ledford <dledford@redhat.com>2018-10-17 11:43:07 -0400
commit67fecaf8e9cc28812042f61194ac0e0a9737f897 (patch)
tree9f4e9830c345376f95e4d5aa0514ad9f4f5549ae /fs/stat.c
parent56e027a604c80b1106786f8426e7cc5dbacb53b2 (diff)
downloadlinux-stable-67fecaf8e9cc28812042f61194ac0e0a9737f897.tar.gz
linux-stable-67fecaf8e9cc28812042f61194ac0e0a9737f897.tar.bz2
linux-stable-67fecaf8e9cc28812042f61194ac0e0a9737f897.zip
RDMA/core: Fix unwinding flow in case of error to register device
If port pkey list initialization fails, free the port_immutable memory during cleanup path. Currently it is missed out. If cache setup fails, free the pkey list during cleanup path. Fixes: d291f1a65 ("IB/core: Enforce PKey security on QPs") Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions