From: Herbert Xu <[EMAIL PROTECTED]>
Date: Fri, 13 Jan 2006 08:06:00 +1100

> The only reason I mentioned doing it in userspace is that it gives us
> a little bit more flexibility since userspace can choose a different
> method to pick the source address.

Note that userspace could override and do something with the zero
source address before the kernel ever gets to see it.

This behavior in the kernel is in line with how socket binding works,
and it's not a bad fallback in the case where we do see a zero tunnel
source addres which frankly has no other sane semantic than the one
Patrick has given to it.

The main point is that putting zero tunnel source address handling
into the kernel does not preclude at all userspace doing something
interesting with it as well.

Therefore I think Patrick's initial kernel patch makes a lot of sense.
-
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