]> git.proxmox.com Git - ovs.git/commit
datapath: Add missing code in ip_tunnel_lookup()
authorGreg Rose <gvrose8192@gmail.com>
Fri, 29 Jun 2018 03:31:26 +0000 (20:31 -0700)
committerJustin Pettit <jpettit@ovn.org>
Fri, 29 Jun 2018 16:07:46 +0000 (09:07 -0700)
commit6690de401904217e9c824197b0aa84d68d2c363a
treeb58c84a82eab023e34e7180257b53e7aaba26ed0
parent56174c2bf4577eacdfaef8c77ea82c99e29e4a30
datapath: Add missing code in ip_tunnel_lookup()

The compat rpl_ip_tunnel_lookup() function was missing some code added
in Linux kernel release 4.3 but not backported in the initial commit.

This also allows us to remove an old hack in erspan_rcv() that was
zeroing out the key parameter so that the tunnel lookups wouldn't fail.

Fixes: 8e53509c ("gre: introduce native tunnel support for ERSPAN")
Reported-by: William Tu <u9012063@gmail.com>
Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: Justin Pettit <jpettit@ovn.org>
datapath/linux/compat/ip_gre.c
datapath/linux/compat/ip_tunnel.c