commit | 287683d027a3ff83feb6c7044430c79881664ecf | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Tue Oct 31 20:09:54 2017 +0200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 31 12:12:55 2017 -0700 |
tree | a047276f244bba9f13d37362c493e8438de80e69 | |
parent | 5f479447d983111c039f1d6d958553c1ad1b2ff1 [diff] |
RDMA/nldev: Enforce device index check for port callback IB device index is nldev's handler and it should be checked always. Fixes: c3f66f7b0052 ("RDMA/netlink: Implement nldev port doit callback") Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Acked-by: Doug Ledford <dledford@redhat.com> [ Applying directly, since Doug fried his SSD's and is rebuilding - Linus ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>