]> git.baikalelectronics.ru Git - kernel.git/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)
commit9b79b69a8472fe517d88657ea8496e314464d3ba
tree58522a854a0233dfb9d2420bfea5748053471497
parent0491ceadcb40e1f788b4f672221447d218b456f0
[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