summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/pnfs.h
diff options
context:
space:
mode:
authorDoron Tsur <doront@mellanox.com>2015-10-15 15:01:02 +0300
committerDoug Ledford <dledford@redhat.com>2015-10-15 12:35:54 -0400
commit17b38fb89055bf5df402980c9546a8b046552f2b (patch)
tree292d5bc17607c3ca26d12fc1a612f007af0015bb /fs/nfsd/pnfs.h
parent0b5c9279e568d90903acedc2b9b832d8d78e8288 (diff)
downloadtalos-obmc-linux-17b38fb89055bf5df402980c9546a8b046552f2b.tar.gz
talos-obmc-linux-17b38fb89055bf5df402980c9546a8b046552f2b.zip
IB/core: Fix memory corruption in ib_cache_gid_set_default_gid
When ib_cache_gid_set_default_gid is called from several threads, updating the table could make find_gid fail, therefore a negative index will be retruned and an invalid table entry will be used. Locking find_gid as well fixes this problem. Fixes: 03db3a2d81e6 ('IB/core: Add RoCE GID table management') Signed-off-by: Doron Tsur <doront@mellanox.com> Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'fs/nfsd/pnfs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud