Re: [PATCH net-next] bpf: fix bpf_skb_set_tunnel_key() helper

2015-08-26 Thread David Miller
From: Alexei Starovoitov Date: Wed, 26 Aug 2015 15:57:38 -0700 > Make sure to indicate to tunnel driver that key.tun_id is set, > otherwise gre won't recognize the metadata. > > Fixes: d3aa45ce6b94 ("bpf: add helpers to access tunnel metadata") > Signed-off-by: Alexei Starovoitov > --- > With t

[PATCH net-next] bpf: fix bpf_skb_set_tunnel_key() helper

2015-08-26 Thread Alexei Starovoitov
Make sure to indicate to tunnel driver that key.tun_id is set, otherwise gre won't recognize the metadata. Fixes: d3aa45ce6b94 ("bpf: add helpers to access tunnel metadata") Signed-off-by: Alexei Starovoitov --- With this fix both vxlan and gretap are working with tc+bpf. net/core/filter.c |