mirror of
https://github.com/openvswitch/ovs
synced 2025-10-23 14:57:06 +00:00
datapath: move tunnel-init function to flow.h
This makes ovs-module more in-sync with upstream ovs-module. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
This commit is contained in:
@@ -218,7 +218,7 @@ static int lisp_rcv(struct sock *sk, struct sk_buff *skb)
|
||||
|
||||
/* Save outer tunnel values */
|
||||
iph = ip_hdr(skb);
|
||||
tnl_tun_key_init(&tun_key, iph, key, TUNNEL_KEY);
|
||||
ovs_flow_tun_key_init(&tun_key, iph, key, TUNNEL_KEY);
|
||||
|
||||
/* Drop non-IP inner packets */
|
||||
inner_iph = (struct iphdr *)(lisph + 1);
|
||||
|
||||
Reference in New Issue
Block a user