diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2017-10-31 20:09:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-10-31 12:12:55 -0700 |
commit | 287683d027a3ff83feb6c7044430c79881664ecf (patch) | |
tree | a047276f244bba9f13d37362c493e8438de80e69 /lib | |
parent | 5f479447d983111c039f1d6d958553c1ad1b2ff1 (diff) | |
download | linux-287683d027a3ff83feb6c7044430c79881664ecf.tar.gz linux-287683d027a3ff83feb6c7044430c79881664ecf.tar.bz2 linux-287683d027a3ff83feb6c7044430c79881664ecf.zip |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions