diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-10-03 11:49:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-04 20:10:56 +0200 |
commit | 3f9e5c119a47d0fce01f8524ff0aba3acca71bb9 (patch) | |
tree | 96bed734f17fda7ec3a25cea9947b2082bab34b8 /net/ipv6/fib6_rules.c | |
parent | net: fib_notifier: propagate possible error during fib notifier registration (diff) | |
download | linux-3f9e5c119a47d0fce01f8524ff0aba3acca71bb9.tar.xz linux-3f9e5c119a47d0fce01f8524ff0aba3acca71bb9.zip |
mlxsw: spectrum_router: Don't rely on missing extack to symbolize dump
Currently if info->extack is NULL, mlxsw assumes that the event came
down from dump. Originally, the dump did not propagate the return value
back to the original caller (fib_notifier_register()). However, that is
now happening. So benefit from this and push the error up if it happened.
Remove rule cases in work handlers that are now dead code.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/fib6_rules.c')
0 files changed, 0 insertions, 0 deletions