OSDN Git Service

iw_cxgb4: use tos when finding ipv6 routes
authorSteve Wise <swise@opengridcomputing.com>
Fri, 1 Feb 2019 20:44:53 +0000 (12:44 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:21 +0000 (14:50 +0100)
commita1358d487d40c7434c607a7157218f9001285639
tree748d1c10444cd3560744776530a4fb9bfd574eb0
parent8931b890696a7236b3dd95e4eb6c4bca7f42de4e
iw_cxgb4: use tos when finding ipv6 routes

[ Upstream commit c8a7eb554a83214c3d8ee5cb322da8c72810d2dc ]

When IPv6 support was added, the correct tos was not passed to
cxgb_find_route6(). This potentially results in the wrong route entry.

Fixes: 830662f6f032 ("RDMA/cxgb4: Add support for active and passive open connection with IPv6 address")
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/cxgb4/cm.c