xfrm: add is_ipip to struct xfrm_input_afinfo
authorXin Long <lucien.xin@gmail.com>
Mon, 6 Jul 2020 12:01:29 +0000 (20:01 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 9 Jul 2020 10:50:12 +0000 (12:50 +0200)
commit1475ee0ac9a16dd5df23ca8abe1039eb6086eb66
tree5c024ad5a54aaaaff3402bb799dfa460be81ec35
parent428d2459cceb77357b81c242ca22462a6a904817
xfrm: add is_ipip to struct xfrm_input_afinfo

This patch is to add a new member is_ipip to struct xfrm_input_afinfo,
to allow another group family of callback functions to be registered
with is_ipip set.

This will be used for doing a callback for struct xfrm(6)_tunnel of
ipip/ipv6 tunnels in xfrm_input() by calling xfrm_rcv_cb(), which is
needed by ipip/ipv6 tunnels' support in ip(6)_vti and xfrm interface
in the next patches.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/xfrm/xfrm_input.c