diff options
author | Albert Huang <[email protected]> | 2023-10-11 15:48:51 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-13 16:52:02 -0700 |
commit | c68681ae46eaaa1640b52fe366d21a93b2185df5 (patch) | |
tree | 9543a488783dfe6d8fcd717b69d5a01e95525a5f /tools/net/ynl/generated/devlink-user.c | |
parent | 419ce133ab928ab5efd7b50b2ef36ddfd4eadbd2 (diff) |
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