]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: enable ipv6 support for smc
authorKarsten Graul <kgraul@linux.vnet.ibm.com>
Fri, 16 Mar 2018 14:06:41 +0000 (15:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2018 18:57:26 +0000 (14:57 -0400)
commit857762f64bb9ce9fb8878d58eb0ce90c7b9e5434
tree54d6b92b8f762f27f3005941307a6357eccb7413
parent1d1d9d85ca56073932109b96d18c70780e8b4ca8
net/smc: enable ipv6 support for smc

Add ipv6 support to the smc socket layer functions. Make use of the
updated clc layer functions to retrieve and match ipv6 information.
The indicator for ipv4 or ipv6 is the protocol constant that is provided
in the socket() call with address family AF_SMC.

Based-on-patch-by: Takanori Ueda <tkueda@jp.ibm.com>
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/af_smc.c
net/smc/smc.h