netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fa_type and fib_info - a question
@ 2013-06-27 19:16 David Shwatrz
  2013-06-27 23:17 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: David Shwatrz @ 2013-06-27 19:16 UTC (permalink / raw)
  To: netdev

Hello,
Can anybody assist on this IPv4 question:
Why does fib_alias contain an fa_type member and also fib_info contain
a fib_type member?  A fib_alias must refer to some fib_info object via
the fa_info pointer. Are there cases when fa_type can differ from
fib_type? or is it so only for some legacy reason?

DS

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fa_type and fib_info - a question
  2013-06-27 19:16 fa_type and fib_info - a question David Shwatrz
@ 2013-06-27 23:17 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-06-27 23:17 UTC (permalink / raw)
  To: dshwatrz; +Cc: netdev

From: David Shwatrz <dshwatrz@gmail.com>
Date: Thu, 27 Jun 2013 22:16:12 +0300

> Why does fib_alias contain an fa_type member and also fib_info contain
> a fib_type member?  A fib_alias must refer to some fib_info object via
> the fa_info pointer. Are there cases when fa_type can differ from
> fib_type? or is it so only for some legacy reason?

It's just a simplification that hasn't been done yet.  They should
both be exactly the same and be derived from cfg->fc_type.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-27 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 19:16 fa_type and fib_info - a question David Shwatrz
2013-06-27 23:17 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).