struct lisp_port *lisp_port = lisp_vport(vport);
struct udphdr *udph = udp_hdr(skb);
struct lisphdr *lisph = (struct lisphdr *)(udph + 1);
- const struct ovs_key_ipv4_tunnel *tun_key = &OVS_CB(skb)->tun_info->tunnel;
+ const struct ovs_key_ipv4_tunnel *tun_key;
+ tun_key = &OVS_CB(skb)->egress_tun_info->tunnel;
udph->dest = lisp_port->dst_port;
udph->source = htons(get_src_port(net, skb));
udph->check = 0;
int sent_len;
int err;
- if (unlikely(!OVS_CB(skb)->tun_info))
+ if (unlikely(!OVS_CB(skb)->egress_tun_info))
return -EINVAL;
- tun_key = &OVS_CB(skb)->tun_info->tunnel;
+ tun_key = &OVS_CB(skb)->egress_tun_info->tunnel;
if (skb->protocol != htons(ETH_P_IP) &&
skb->protocol != htons(ETH_P_IPV6)) {