|
|
@@ -176,7 +176,6 @@ static int tipc_udp_xmit(struct net *net, struct sk_buff *skb,
|
|
|
goto tx_error;
|
|
|
}
|
|
|
|
|
|
- skb->dev = rt->dst.dev;
|
|
|
ttl = ip4_dst_hoplimit(&rt->dst);
|
|
|
udp_tunnel_xmit_skb(rt, ub->ubsock->sk, skb, src->ipv4.s_addr,
|
|
|
dst->ipv4.s_addr, 0, ttl, 0, src->port,
|
|
|
@@ -195,10 +194,9 @@ static int tipc_udp_xmit(struct net *net, struct sk_buff *skb,
|
|
|
if (err)
|
|
|
goto tx_error;
|
|
|
ttl = ip6_dst_hoplimit(ndst);
|
|
|
- err = udp_tunnel6_xmit_skb(ndst, ub->ubsock->sk, skb,
|
|
|
- ndst->dev, &src->ipv6,
|
|
|
- &dst->ipv6, 0, ttl, 0, src->port,
|
|
|
- dst->port, false);
|
|
|
+ err = udp_tunnel6_xmit_skb(ndst, ub->ubsock->sk, skb, NULL,
|
|
|
+ &src->ipv6, &dst->ipv6, 0, ttl, 0,
|
|
|
+ src->port, dst->port, false);
|
|
|
#endif
|
|
|
}
|
|
|
return err;
|