]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ib_core: Check that caches exist before accessing them
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Thu, 12 Dec 2013 07:34:10 +0000 (09:34 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:16 +0000 (14:45 -0700)
commit7758067d71d16e898c076073328f3be416189ff6
tree9ed68de60c31837548f7c00a089e77f821900091
parentd1b5d340c88c6d88197f2d73f561305197f467cc
ib_core: Check that caches exist before accessing them

Check that the gid/pkey cache exists before trying to access
them (ib_find_cached_xxx and ib_cache_update).

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/infiniband/core/cache.c