[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110407212552.GA11115@Chamillionaire.breakpoint.cc>
Date: Thu, 7 Apr 2011 23:25:52 +0200
From: Florian Westphal <fw@...len.de>
To: David Miller <davem@...emloft.net>
Cc: dwalter@...racuda.com, netdev@...r.kernel.org
Subject: Re: ipv6: Add support for RTA_PREFSRC
David Miller <davem@...emloft.net> wrote:
> From: Daniel Walter <dwalter@...racuda.com>
> Date: Mon, 4 Apr 2011 09:56:44 +0200
> > This reduces the RTA_PREFSRC support to netlink only, unless
> > we break the struct.
>
[..]
> Since you do the prefsrc extraction in at least two places, make a
> helper function that does the whole "if prefsrc.plen use prefsrc, else
> use ipv6_dev_get_saddr()"
>
> This would be akin to ipv4's FIB_RES_PREFSRC
OK, I'll bite.
Whats wrong with using ipv6 addrlabels to pick the desired address,
and, if there is a problem, why is it not fixable?
Just wondering...
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists