ipv4: Fix reverse path filtering with multipath routing.
authorDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2010 05:36:19 +0000 (22:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Sep 2010 20:57:24 +0000 (13:57 -0700)
commit6f86b325189e0a53c97bf86cff0c8b02ff624934
tree856badf9fa6205b2216eb4301a0776da70d5b28a
parent8df73ff90f00f14d2c7ff7156f7ef153f7e9d3b7
ipv4: Fix reverse path filtering with multipath routing.

Actually iterate over the next-hops to make sure we have
a device match.  Otherwise RP filtering is always elided
when the route matched has multiple next-hops.

Reported-by: Igor M Podlesny <for.poige@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c