Skip to content
Commit d29c9ab1 authored by Doug Ledford's avatar Doug Ledford
Browse files

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: 03db3a2d (IB/core: Add RoCE GID table management)
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 5f44abd0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment