On Sat, 26 Jul 2003 08:22:51 +1000 Rusty Russell <rusty@rustcorp.com.au> wrote: > > Unrelated: giving out->ifindex is a bug, by the way. It can screw up > > the things a lot. In this context, if you want to be sure that packet > > will go out expected interface you do plain lookup and drop packet > > if it gave you some strange route. > > I did this by checking rt->rt_iif equals out->ifindex. I > haven't tested, but how does this look? Alexey thinks you really mean not rt->rt_iif, but rather rt->u.dst.dev->ifindex, right? If so, please send a fixed up version. Thanks. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html