diff options
| author | Albert Huang <[email protected]> | 2023-10-11 07:48:51 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-10-13 23:52:02 +0000 |
| commit | c68681ae46eaaa1640b52fe366d21a93b2185df5 (patch) | |
| tree | 9543a488783dfe6d8fcd717b69d5a01e95525a5f /tools/net/ynl/generated/devlink-user.c | |
| parent | tcp: allow again tcp_disconnect() when threads are waiting (diff) | |
| download | kernel-c68681ae46eaaa1640b52fe366d21a93b2185df5.tar.gz kernel-c68681ae46eaaa1640b52fe366d21a93b2185df5.zip | |
net/smc: fix smc clc failed issue when netdevice not in init_net
If the netdevice is within a container and communicates externally
through network technologies such as VxLAN, we won't be able to find
routing information in the init_net namespace. To address this issue,
we need to add a struct net parameter to the smc_ib_find_route function.
This allow us to locate the routing information within the corresponding
net namespace, ensuring the correct completion of the SMC CLC interaction.
Fixes: e5c4744cfb59 ("net/smc: add SMC-Rv2 connection establishment")
Signed-off-by: Albert Huang <[email protected]>
Reviewed-by: Dust Li <[email protected]>
Reviewed-by: Wenjia Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions
