|
@@ -70,6 +70,7 @@ tee_tg_route4(struct sk_buff *skb, const struct xt_tee_tginfo *info)
|
|
fl4.daddr = info->gw.ip;
|
|
fl4.daddr = info->gw.ip;
|
|
fl4.flowi4_tos = RT_TOS(iph->tos);
|
|
fl4.flowi4_tos = RT_TOS(iph->tos);
|
|
fl4.flowi4_scope = RT_SCOPE_UNIVERSE;
|
|
fl4.flowi4_scope = RT_SCOPE_UNIVERSE;
|
|
|
|
+ fl4.flowi4_flags = FLOWI_FLAG_KNOWN_NH;
|
|
rt = ip_route_output_key(net, &fl4);
|
|
rt = ip_route_output_key(net, &fl4);
|
|
if (IS_ERR(rt))
|
|
if (IS_ERR(rt))
|
|
return false;
|
|
return false;
|