#else
static inline void rt6_probe(struct rt6_info *rt)
{
- return;
}
#endif
{
int flags = 0;
- if (fl->oif || rt6_need_strict(&fl->fl6_dst))
+ if ((sk && sk->sk_bound_dev_if) || rt6_need_strict(&fl->fl6_dst))
flags |= RT6_LOOKUP_F_IFACE;
if (!ipv6_addr_any(&fl->fl6_src))
out:
dst_release(&rt->u.dst);
- return;
}
/*