diff options
author | David Ahern <dsahern@gmail.com> | 2019-04-23 18:06:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-23 21:52:33 -0700 |
commit | b2f97f7de2f6a4df8e431330cf467576486651c5 (patch) | |
tree | 65035cf5ac604d66065dd1be2b71c1986f6ccacc /include/net/ip6_fib.h | |
parent | 7973d9e76727aa42f0824f5569e96248a572d50b (diff) | |
download | linux-rt-b2f97f7de2f6a4df8e431330cf467576486651c5.tar.gz |
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: effda4dd97e87 ("ipv6: Pass fib6_result to fib lookups")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_fib.h')
0 files changed, 0 insertions, 0 deletions