|
@@ -1780,7 +1780,7 @@ static inline int __mkroute_input(struct sk_buff *skb,
|
|
#endif
|
|
#endif
|
|
if (in_dev->cnf.no_policy)
|
|
if (in_dev->cnf.no_policy)
|
|
rth->u.dst.flags |= DST_NOPOLICY;
|
|
rth->u.dst.flags |= DST_NOPOLICY;
|
|
- if (in_dev->cnf.no_xfrm)
|
|
|
|
|
|
+ if (out_dev->cnf.no_xfrm)
|
|
rth->u.dst.flags |= DST_NOXFRM;
|
|
rth->u.dst.flags |= DST_NOXFRM;
|
|
rth->fl.fl4_dst = daddr;
|
|
rth->fl.fl4_dst = daddr;
|
|
rth->rt_dst = daddr;
|
|
rth->rt_dst = daddr;
|