bpf: allow to propagate df in bpf_skb_set_tunnel_key
authorDaniel Borkmann <daniel@iogearbox.net>
Fri, 4 Mar 2016 14:15:05 +0000 (15:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Mar 2016 18:58:46 +0000 (13:58 -0500)
commit2208087061c4ad88de188911367effc550144836
tree63dd3362d2160253ea7ce9f96c5cdb2bdff51551
parent577c50aade0f34926e4a47f61629739e6da91af6
bpf: allow to propagate df in bpf_skb_set_tunnel_key

Added by 9a628224a61b ("ip_tunnel: Add dont fragment flag."), allow to
feed df flag into tunneling facilities (currently supported on TX by
vxlan, geneve and gre) as a hint from eBPF's bpf_skb_set_tunnel_key()
helper.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/bpf.h
net/core/filter.c