diff options
author | 2024-06-14 02:00:28 +0800 | |
---|---|---|
committer | 2024-06-17 13:14:09 +0100 | |
commit | d0e35656d83458d668593930f1568d464dde429c (patch) | |
tree | c87938cd45462248048f7467c045ee64abe7478e /net/core | |
parent | net: make for_each_netdev_dump() a little more bug-proof (diff) | |
download | wireguard-linux-d0e35656d83458d668593930f1568d464dde429c.tar.xz wireguard-linux-d0e35656d83458d668593930f1568d464dde429c.zip |
net/smc: refactoring initialization of smc sock
This patch aims to isolate the shared components of SMC socket
allocation by introducing smc_sk_init() for sock initialization
and __smc_create_clcsk() for the initialization of clcsock.
This is in preparation for the subsequent implementation of the
AF_INET version of SMC.
Signed-off-by: D. Wythe <alibuda@linux.alibaba.com>
Reviewed-by: Tony Lu <tonylu@linux.alibaba.com>
Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>
Reviewed-by: Dust Li <dust.li@linux.alibaba.com>
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Tested-by: Wenjia Zhang <wenjia@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions