diff options
| author | Parav Pandit <parav@mellanox.com> | 2019-02-26 14:01:47 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-28 14:52:02 -0300 |
| commit | 37eeab55aeca98cb6648b471f09c0e651ccb1e7c (patch) | |
| tree | ce3ca5f6305215d2f291acde9a8946c5918ef431 /tools/perf/scripts/python | |
| parent | RDMA: Check net namespace access for uverbs, umad, cma and nldev (diff) | |
| download | linux-37eeab55aeca98cb6648b471f09c0e651ccb1e7c.tar.gz linux-37eeab55aeca98cb6648b471f09c0e651ccb1e7c.zip | |
RDMA/core: Extend ib_device_get_by_index for net namespace
Extend ib_device_get_by_index() API to check device access for
net namespace for serving netlink commands.
Also enforce net ns check on dumpit commands which iterate over all
registered rdma devices and which don't call ib_device_get_by_index().
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
