Re: [PATCH net] bpf: fix csum setting for bpf_set_tunnel_key

2016-02-25 Thread David Miller
From: Daniel Borkmann Date: Thu, 25 Feb 2016 11:45:47 +0100 > On 02/24/2016 10:24 PM, David Miller wrote: > [...] >> Applied to 'net', thanks Daniel. > > Thanks! > > Btw, in case net gets merged into net-next, there will be a minor > merge conflict due to stackid flags present in net-next. This

Re: [PATCH net] bpf: fix csum setting for bpf_set_tunnel_key

2016-02-25 Thread Daniel Borkmann
On 02/24/2016 10:24 PM, David Miller wrote: [...] Applied to 'net', thanks Daniel. Thanks! Btw, in case net gets merged into net-next, there will be a minor merge conflict due to stackid flags present in net-next. This can be easily resolved by keeping both chunks. For example, result after m

Re: [PATCH net] bpf: fix csum setting for bpf_set_tunnel_key

2016-02-24 Thread David Miller
From: Daniel Borkmann Date: Tue, 23 Feb 2016 02:05:26 +0100 > The fix in 35e2d1152b22 ("tunnels: Allow IPv6 UDP checksums to be correctly > controlled.") changed behavior for bpf_set_tunnel_key() when in use with > IPv6 and thus uncovered a bug that TUNNEL_CSUM needed to be set but wasn't. > As a

[PATCH net] bpf: fix csum setting for bpf_set_tunnel_key

2016-02-22 Thread Daniel Borkmann
The fix in 35e2d1152b22 ("tunnels: Allow IPv6 UDP checksums to be correctly controlled.") changed behavior for bpf_set_tunnel_key() when in use with IPv6 and thus uncovered a bug that TUNNEL_CSUM needed to be set but wasn't. As a result, the stack dropped ingress vxlan IPv6 packets, that have been