From: Andi Kleen <[EMAIL PROTECTED]>
Date: Wed, 8 Feb 2006 23:20:38 +0100

> But are you sure the hash table used for that would be strong enough
> to handle the load?

With RCU locking I think it is.

> And what happens when a ifindex is reused? Then packets could end up
> on the wrong interface. That might be a security issue.

It is an interesting issue, but I don't think it's a real problem.

For example, if the interface is downed, the route gets invalidated
and that would prevent sending.  The packet would go to /dev/null
because of what we do in net/core/dst.c/dst_ifdown().
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to