[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cf175e85-07f2-6c05-d9be-35b725bab9ef@iogearbox.net>
Date: Wed, 25 Apr 2018 09:54:49 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: William Tu <u9012063@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH bpf-next] bpf: clear the ip_tunnel_info.
On 04/25/2018 08:46 AM, William Tu wrote:
> 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: William Tu <u9012063@...il.com>
> Reported-by: Yifeng Sun <pkusunyifeng@...il.com>
Since this is a fix, I've applied this to bpf, thanks William!
Powered by blists - more mailing lists