commit | f4e7de63ab273b6a5e35c82eb4fc6363c855ddd4 | [log] [tgz] |
---|---|---|
author | Doug Ledford <dledford@redhat.com> | Fri Apr 22 20:14:58 2016 -0400 |
committer | Doug Ledford <dledford@redhat.com> | Fri Apr 22 20:26:44 2016 -0400 |
tree | 143c8803998da1124078565a3dca5d9870285ff1 | |
parent | 2fe7857176ad6b70e8b2a318506525410e774f34 [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>