-
由 William Tu 提交于
The percpu metadata_dst might carry the stale ip_tunnel_info and cause incorrect behavior. When mixing tests using ipv4/ipv6 bpf vxlan and geneve tunnel, the ipv6 tunnel info incorrectly uses ipv4's src ip addr as its ipv6 src address, because the previous tunnel info does not clean up. The patch zeros the fields in ip_tunnel_info. Signed-off-by: NWilliam Tu <u9012063@gmail.com> Reported-by: NYifeng Sun <pkusunyifeng@gmail.com> Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
5540fbf4