commit | fca5fdf67de9e092fda23c9eb059ba968e7b5267 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Wed Mar 16 01:42:51 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 18 19:38:46 2016 -0400 |
tree | 06aa42e0d7679a15e223a05acd202d2897252bb1 | |
parent | 808c1b697c3c4dd2a7132882424c390b0d0acfb9 [diff] |
ip_tunnels, bpf: define IP_TUNNEL_OPTS_MAX and use it eBPF defines this as BPF_TUNLEN_MAX and OVS just uses the hard-coded value inside struct sw_flow_key. Thus, add and use IP_TUNNEL_OPTS_MAX for this, which makes the code a bit more generic and allows to remove BPF_TUNLEN_MAX from eBPF code. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>