diff options
author | Xin Long <lucien.xin@gmail.com> | 2020-07-13 15:42:37 +0800 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2020-07-14 11:46:07 +0200 |
commit | a8757147905ea5adee78c7a813fc080a4124f248 (patch) | |
tree | 423170649987c68860354c2ab7243830f8ae4769 /net/xfrm/xfrm_interface.c | |
parent | 55a48c7ec75ad8a1f4e39d271e2b5aee21150f65 (diff) |
ip6_vti: not register vti_ipv6_handler twice
An xfrm6_tunnel object is linked into the list when registering,
so vti_ipv6_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 xfrm6_tunnel object to register
for AF_INET.
Fixes: 2ab110cbb0c0 ("ip6_vti: support IP6IP 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