openvswitch: set correct protocol on route lookup
authorJiri Benc <jbenc@redhat.com>
Fri, 5 Dec 2014 16:24:28 +0000 (17:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 21:01:21 +0000 (16:01 -0500)
commitd2b2a132458ebbab02e51dc81190e4092da6b6c3
treeab8cea518db584099c7edee6a215d2f1294820f7
parent62dbe83015ed15b307eb22b89568dd41091dda76
openvswitch: set correct protocol on route lookup

Respect what the caller passed to ovs_tunnel_get_egress_info.

Fixes: 8f0aad6f35f7e ("openvswitch: Extend packet attribute for egress tunnel info")
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/vport.c