diff options
| author | Lorenzo Bianconi <[email protected]> | 2019-01-18 11:05:39 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-01-22 19:52:17 +0000 |
| commit | cb73ee40b1b381eaf3749e6dbeed567bb38e5258 (patch) | |
| tree | 4a46c80cac3f7bb0f044f1cbf2d73a66129a9456 /tools/bpf/bpftool/prog.c | |
| parent | net: sun: cassini: Cleanup license conflict (diff) | |
| download | kernel-cb73ee40b1b381eaf3749e6dbeed567bb38e5258.tar.gz kernel-cb73ee40b1b381eaf3749e6dbeed567bb38e5258.zip | |
net: ip_gre: use erspan key field for tunnel lookup
Use ERSPAN key header field as tunnel key in gre_parse_header routine
since ERSPAN protocol sets the key field of the external GRE header to
0 resulting in a tunnel lookup fail in ip6gre_err.
In addition remove key field parsing and pskb_may_pull check in
erspan_rcv and ip6erspan_rcv
Fixes: 5a963eb61b7c ("ip6_gre: Add ERSPAN native tunnel support")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
