]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: add ipv6 support to CLC layer
authorKarsten Graul <kgraul@linux.vnet.ibm.com>
Fri, 16 Mar 2018 14:06:40 +0000 (15:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2018 18:57:25 +0000 (14:57 -0400)
commit1d1d9d85ca56073932109b96d18c70780e8b4ca8
treee8356f48977b9dbb8981aa010451e320f565483f
parent053facfc7f8b4a57267c202c64c0ddc3794db78b
net/smc: add ipv6 support to CLC layer

The CLC layer is updated to support ipv6 proposal messages from peers and
to match incoming proposal messages against the ipv6 addresses of the net
device. struct smc_clc_ipv6_prefix is updated to provide the space for an
ipv6 address (struct was not used before). SMC_CLC_MAX_LEN is updated to
include the size of the proposal prefix. Existing code in net is not
affected, the previous SMC_CLC_MAX_LEN value is large enough to hold ipv4
proposal messages.

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