]> 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)
commit8b019eb430e67308ae7b5fea6faae5e9ac8e6c1b
tree54d6b92b8f762f27f3005941307a6357eccb7413
parent1273f1874b553a25020fc7c2db3cb7ff1ee669d8
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