diff options
| author | Parav Pandit <parav@mellanox.com> | 2018-09-21 17:18:24 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-10-04 05:47:41 +0300 |
| commit | fe33507ec38a8b2e8b782b83669943b7a5fefd4c (patch) | |
| tree | 500313048e9b3ecbdbd25732faba0e675678e0fc /tools/perf/scripts/python/syscall-counts.py | |
| parent | 15703461533a5ffd775722390431625daaae7618 (diff) | |
| download | linux-fe33507ec38a8b2e8b782b83669943b7a5fefd4c.tar.xz | |
RDMA/core: Check error status of rdma_find_ndev_for_src_ip_rcu
rdma_find_ndev_for_src_ip_rcu() returns either valid netdev pointer or
ERR_PTR(). Instead of checking for NULL, check for error.
Fixes: caf1e3ae9fa6 ("RDMA/core Introduce and use rdma_find_ndev_for_src_ip_rcu")
Reported-by: syzbot+20c32fa6ff84a2d28c36@syzkaller.appspotmail.com
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
