RDMA/counters: Properly implement PID checks
"Auto" configuration mode is called for visible in that PID namespace and it ensures that all counters and QPs are coexist in the same namespace and belong to same PID. Fixes: 99fa331d ("RDMA/counter: Add "auto" configuration mode support") Reviewed-by: NMark Zhang <markz@mellanox.com> Signed-off-by: NLeon Romanovsky <leonro@mellanox.com> Link: https://lore.kernel.org/r/20190815083834.9245-3-leon@kernel.orgSigned-off-by: NDoug Ledford <dledford@redhat.com>
Showing
想要评论请 注册 或 登录