diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2019-01-18 12:05:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-22 11:52:17 -0800 |
commit | cb73ee40b1b381eaf3749e6dbeed567bb38e5258 (patch) | |
tree | 4a46c80cac3f7bb0f044f1cbf2d73a66129a9456 /net/ipv6/addrconf.c | |
parent | net: sun: cassini: Cleanup license conflict (diff) | |
download | linux-dev-cb73ee40b1b381eaf3749e6dbeed567bb38e5258.tar.xz linux-dev-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 <lorenzo.bianconi@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
0 files changed, 0 insertions, 0 deletions