diff options
author | Xin Long <lucien.xin@gmail.com> | 2020-07-13 10:42:36 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2020-07-14 12:45:18 +0300 |
commit | 55a48c7ec75ad8a1f4e39d271e2b5aee21150f65 (patch) | |
tree | be198676366a7318e1fa8961cfd47fe6fc141d1e /net/ipv4/bpfilter | |
parent | 910a71ed772aac3bf228e8679f000b1505c287fb (diff) | |
download | linux-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/ipv4/bpfilter')
0 files changed, 0 insertions, 0 deletions