]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - net/smc/smc.h
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)
commitaaa4d33f6da1e1a415f4f7c299a97defd845ce7d
tree54d6b92b8f762f27f3005941307a6357eccb7413
parent1a26d0201d7670fd6c9086e15504911ce240e6ff
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