aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_cm.h
diff options
context:
space:
mode:
authorXiyu Yang <xiyuyang19@fudan.edu.cn>2019-12-30 10:24:28 +0800
committerJason Gunthorpe <jgg@mellanox.com>2020-01-03 19:59:34 -0400
commit04db1580b5e48a79e24aa51ecae0cd4b2296ec23 (patch)
tree08077457acc21153f7e9ad2ffef94a753762bcad /include/rdma/ib_cm.h
parentRDMA/rxe: Fix error type of mmap_offset (diff)
downloadlinux-dev-04db1580b5e48a79e24aa51ecae0cd4b2296ec23.tar.xz
linux-dev-04db1580b5e48a79e24aa51ecae0cd4b2296ec23.zip
RDMA/i40iw: fix a potential NULL pointer dereference
A NULL pointer can be returned by in_dev_get(). Thus add a corresponding check so that a NULL pointer dereference will be avoided at this place. Fixes: 8e06af711bf2 ("i40iw: add main, hdr, status") Link: https://lore.kernel.org/r/1577672668-46499-1-git-send-email-xiyuyang19@fudan.edu.cn Signed-off-by: Xiyu Yang <xiyuyang19@fudan.edu.cn> Signed-off-by: Xin Tan <tanxin.ctf@gmail.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/ib_cm.h')
0 files changed, 0 insertions, 0 deletions