OSDN Git Service

net/smc: save SMC-R peer link_uid
authorKarsten Graul <kgraul@linux.ibm.com>
Mon, 4 May 2020 12:18:48 +0000 (14:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2020 17:54:39 +0000 (10:54 -0700)
commit649758fff327eeb184713db8b0b0ebfa28693077
tree491c9b0129cec2e31bfb5e28c1f5baf9791c4cfa
parent45fa8da0bf5cb447fcf835d184e2d3b745376e69
net/smc: save SMC-R peer link_uid

During SMC-R link establishment the peers exchange the link_uid that
is used for debugging purposes. Save the peer link_uid in smc_link so it
can be retrieved by the smc_diag netlink interface.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c
net/smc/smc_core.h
net/smc/smc_llc.c
net/smc/smc_llc.h