Re: [PATCH v2 net] net/smc: fix smc clc failed issue when netdevice not in init_net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 11.10.23 09:48, Albert Huang wrote:
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 <huangjie.albert@xxxxxxxxxxxxx>
---
  net/smc/af_smc.c | 3 ++-
  net/smc/smc_ib.c | 7 ++++---
  net/smc/smc_ib.h | 2 +-
  3 files changed, 7 insertions(+), 5 deletions(-)


looks good to me, thanks!

Reviewed-by: Wenjia Zhang <wenjia@xxxxxxxxxxxxx>



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux