aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-03-08 23:36:03 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-08 23:20:53 -0500
commite28e87ed474c5a0b378c66fb85efc8e487f4f63f (patch)
tree58a8bd2f09a408dc2cd3c792e9424a09e6b9f713 /samples
parentf14b488d50b7dc234ddaed53ce4293c9eac47457 (diff)
downloadlinux-stericsson-e28e87ed474c5a0b378c66fb85efc8e487f4f63f.tar.gz
ip_tunnel, bpf: ip_tunnel_info_opts_{get, set} depends on CONFIG_INET
Helpers like ip_tunnel_info_opts_{get,set}() are only available if CONFIG_INET is set, thus add an empty definition into the header for the !CONFIG_INET case, where already other empty inline helpers are defined. This avoids ifdef kludge inside filter.c, but also vxlan and geneve themself where this facility can only be used with, depend on INET being set. For the !INET case TUNNEL_OPTIONS_PRESENT would never be set in flags. Fixes: 14ca0751c96f ("bpf: support for access to tunnel options") Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions