diff options
author | Doug Ledford <dledford@redhat.com> | 2016-04-22 20:14:58 -0400 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-04-22 20:14:58 -0400 |
commit | d29c9ab1a2c81ce404883baba91e15ae35411900 (patch) | |
tree | e170603128cd3c866adb11a1407272fc153553d4 /fs/omfs | |
parent | 5f44abd041c5f3be76d57579ab254d78e601315b (diff) |
IB/core: Fix oops in ib_cache_gid_set_default_gid
When we fail to find the default gid index, we can't continue
processing in this routine or else we will pass a negative
index to later routines resulting in invalid memory access
attempts and a kernel oops.
Fixes: 03db3a2d81e6 (IB/core: Add RoCE GID table management)
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'fs/omfs')
0 files changed, 0 insertions, 0 deletions