Skip to content
Commit b2f97f7d authored by David Ahern's avatar David Ahern Committed by David S. Miller
Browse files

ipv6: fib6_rule_action_alt needs to return -EAGAIN



fib rule actions should return -EAGAIN for the rules to continue to the
next one. A recent change overwrote err with the lookup always returning
0 (future change will make it more like IPv4) which means the rules
stopped at the first (e.g., local table lookup only). Catch and reset err
to -EAGAIN.

Fixes: effda4dd ("ipv6: Pass fib6_result to fib lookups")
Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7973d9e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment