]> git.proxmox.com Git - mirror_iproute2.git/commit
rdma: Check that port index exists before operate on link layer
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 27 Dec 2017 07:57:54 +0000 (09:57 +0200)
committerDavid Ahern <dsahern@gmail.com>
Wed, 27 Dec 2017 15:47:35 +0000 (07:47 -0800)
commite3dee3c81f7fba93ae8c84f6c2fb5009c0764d65
tree1bd86dd5fb0eb7746c0806922a4cf78984b5b369
parent4e2eb9fdf911971c8a6615e4b07656047ada0093
rdma: Check that port index exists before operate on link layer

Link layer operates on port layer, hence it should check
it existence before execution commands.

Fixes: da990ab40a92 ("rdma: Add link object")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
rdma/link.c