summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_interface.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2020-07-13 10:42:36 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2020-07-14 12:45:18 +0300
commit55a48c7ec75ad8a1f4e39d271e2b5aee21150f65 (patch)
treebe198676366a7318e1fa8961cfd47fe6fc141d1e /net/xfrm/xfrm_interface.c
parent910a71ed772aac3bf228e8679f000b1505c287fb (diff)
downloadlinux-55a48c7ec75ad8a1f4e39d271e2b5aee21150f65.tar.xz
ip_vti: not register vti_ipip_handler twice
An xfrm_tunnel object is linked into the list when registering, so vti_ipip_handler can not be registered twice, otherwise its next pointer will be overwritten on the second time. So this patch is to define a new xfrm_tunnel object to register for AF_INET6. Fixes: e6ce64570f24 ("ip_vti: support IPIP6 tunnel processing") Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_interface.c')
0 files changed, 0 insertions, 0 deletions