Commit 2120e63
committed
RDMA/cxgb4: Fix RDMA_CM_EVENT_UNREACHABLE error for iWARP
jira LE-2741
Rebuild_History Non-Buildable kernel-4.18.0-553.42.1.el8_10
commit-author Anumula Murali Mohan Reddy <anumula@chelsio.com>
commit c659b40
ip_dev_find() always returns real net_device address, whether traffic is
running on a vlan or real device, if traffic is over vlan, filling
endpoint struture with real ndev and an attempt to send a connect request
will results in RDMA_CM_EVENT_UNREACHABLE error. This patch fixes the
issue by using vlan_dev_real_dev().
Fixes: 830662f ("RDMA/cxgb4: Add support for active and passive open connection with IPv6 address")
Link: https://patch.msgid.link/r/20241007132311.70593-1-anumula@chelsio.com
Signed-off-by: Anumula Murali Mohan Reddy <anumula@chelsio.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
(cherry picked from commit c659b40)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>1 parent 1b426c6 commit 2120e63
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2078 | 2078 | | |
2079 | 2079 | | |
2080 | 2080 | | |
2081 | | - | |
| 2081 | + | |
2082 | 2082 | | |
2083 | 2083 | | |
2084 | 2084 | | |
| |||
2093 | 2093 | | |
2094 | 2094 | | |
2095 | 2095 | | |
| 2096 | + | |
| 2097 | + | |
2096 | 2098 | | |
2097 | 2099 | | |
2098 | | - | |
2099 | | - | |
| 2100 | + | |
2100 | 2101 | | |
2101 | | - | |
2102 | 2102 | | |
2103 | 2103 | | |
2104 | 2104 | | |
| |||
2111 | 2111 | | |
2112 | 2112 | | |
2113 | 2113 | | |
2114 | | - | |
2115 | 2114 | | |
2116 | 2115 | | |
2117 | 2116 | | |
| |||
0 commit comments