]> err.no Git - linux-2.6/commit
[IPV4]: Fix nexthop realm dumping for multipath routes
authorPatrick McHardy <kaber@trash.net>
Fri, 21 Jul 2006 22:09:55 +0000 (15:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jul 2006 22:09:55 +0000 (15:09 -0700)
commit8265abc082d2283b4ef20237efadb71c6f16ed0c
tree58522a854a0233dfb9d2420bfea5748053471497
parent9ed36279f68c990d65cd3d64f27d81313474a118
[IPV4]: Fix nexthop realm dumping for multipath routes

Routing realms exist per nexthop, but are only returned to userspace
for the first nexthop. This is due to the fact that iproute2 only
allows to set the realm for the first nexthop and the kernel refuses
multipath routes where only a single realm is present.

Dump all realms for multipath routes to enable iproute to correctly
display them.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c