linux/drivers/infiniband
Leon Romanovsky 659067b0b5 RDMA/nldev: Prepare CAP_NET_ADMIN checks for .doit callbacks
The .doit callbacks don't have a netlink_callback to check capabilities so
in order to use the same fill_res_func for both .dump and .doit, we need
to do the capability check outside of those functions.

For .doit callbacks, it is possible to check CAP_NET_ADMIN directly on the
received sk_buff.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-01-30 21:12:33 -07:00
..
core RDMA/nldev: Prepare CAP_NET_ADMIN checks for .doit callbacks 2019-01-30 21:12:33 -07:00
hw IB/mlx5: Consider vlan of lower netdev for macvlan GID entries 2019-01-30 20:43:46 -07:00
sw RDMA: Provide safe ib_alloc_device() function 2019-01-30 15:52:30 -07:00
ulp RDMA/srp: Increase max_segment_size 2019-01-30 15:04:16 -07:00
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00