|
@@ -710,16 +710,9 @@ void ip_tunnel_xmit(struct sk_buff *skb, struct net_device *dev,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if (tunnel->fwmark) {
|
|
|
- init_tunnel_flow(&fl4, protocol, dst, tnl_params->saddr,
|
|
|
- tunnel->parms.o_key, RT_TOS(tos), tunnel->parms.link,
|
|
|
- tunnel->fwmark);
|
|
|
- }
|
|
|
- else {
|
|
|
- init_tunnel_flow(&fl4, protocol, dst, tnl_params->saddr,
|
|
|
- tunnel->parms.o_key, RT_TOS(tos), tunnel->parms.link,
|
|
|
- skb->mark);
|
|
|
- }
|
|
|
+ init_tunnel_flow(&fl4, protocol, dst, tnl_params->saddr,
|
|
|
+ tunnel->parms.o_key, RT_TOS(tos), tunnel->parms.link,
|
|
|
+ tunnel->fwmark);
|
|
|
|
|
|
if (ip_tunnel_encap(skb, tunnel, &protocol, &fl4) < 0)
|
|
|
goto tx_error;
|