diff options
author | Xin Long <lucien.xin@gmail.com> | 2020-07-13 10:42:37 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2020-07-14 12:46:07 +0300 |
commit | a8757147905ea5adee78c7a813fc080a4124f248 (patch) | |
tree | 423170649987c68860354c2ab7243830f8ae4769 /net/xfrm/xfrm_interface.c | |
parent | 55a48c7ec75ad8a1f4e39d271e2b5aee21150f65 (diff) | |
download | linux-a8757147905ea5adee78c7a813fc080a4124f248.tar.xz |
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