Message ID | 1328374715.2731.21.camel@edumazet-laptop |
---|---|
State | Rejected, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/include/net/route.h b/include/net/route.h index 91855d1..f27a82d 100644 --- a/include/net/route.h +++ b/include/net/route.h @@ -272,7 +272,9 @@ static inline struct rtable *ip_route_connect(struct flowi4 *fl4, ip_rt_put(rt); } security_sk_classify_flow(sk, flowi4_to_flowi(fl4)); - return ip_route_output_flow(net, fl4, sk); + rt = ip_route_output_flow(net, fl4, sk); + fl4->flowi4_oif = oif; + return rt; } static inline struct rtable *ip_route_newports(struct flowi4 *fl4, struct rtable *rt,