From: Markus Stenberg <markus.stenb...@iki.fi>
Date: Mon, 4 May 2015 14:46:02 +0300

> Avoid dumping RTA_PREFSRC twice if iif is not set, but dst is.
> 
> Note that the change also dumps RTA_PREFSRC even if iif RTA_IIF is
> sent. As scopes are not that rare in IPv6, I believe that to be
> correct behavior.
> 
> Signed-off-by: Markus Stenberg <markus.stenb...@iki.fi>

The distinguishing characteristic that should decide whether we
provide a PREFSRC or not is whether this route is an output route
or not.

Neither the current logic, nor your patch, implements this.

But that's what this code needs to do.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to