]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/nldev: Don't expose number of not-visible entries
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 18 Feb 2019 20:25:52 +0000 (22:25 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 Feb 2019 17:13:39 +0000 (10:13 -0700)
commitf2a0e45f36b0a210ff2388ed5fa89f81019c07a1
treed87419721c0a2156b4295b267eab57d0c42f1239
parent1b8b778864b338b2e295687733d785ae1a65a9ea
RDMA/nldev: Don't expose number of not-visible entries

Netlink dumpit handshake exchanges the index from which kernel should
start to return its value, in current code, this index included
not-visible in this PID items too and indirectly revealed the number of
entries.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/nldev.c