ip6_vti: support IP6IP6 tunnel processing with .cb_handler
authorXin Long <lucien.xin@gmail.com>
Mon, 6 Jul 2020 12:01:34 +0000 (20:01 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 9 Jul 2020 10:54:30 +0000 (12:54 +0200)
commit08622869ed3f167db9b2250ab1bb055f55293401
tree0b5e5d1e17520fe0ccd5f148b84328207ce2e27a
parente6ce64570f2451684b4f9bcbaee6c40c4a7dff82
ip6_vti: support IP6IP6 tunnel processing with .cb_handler

Similar to IPIP tunnel's processing, this patch is to support
IP6IP6 tunnel processing with .cb_handler.

v1->v2:
  - no change.
v2-v3:
  - enable it only when CONFIG_INET6_XFRM_TUNNEL is defined, to fix
    the build error, reported by kbuild test robot.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv6/ip6_vti.c