aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_trie.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-10-03 11:49:29 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-04 11:10:56 -0700
commit3f9e5c119a47d0fce01f8524ff0aba3acca71bb9 (patch)
tree96bed734f17fda7ec3a25cea9947b2082bab34b8 /net/ipv4/fib_trie.c
parentnet: fib_notifier: propagate possible error during fib notifier registration (diff)
downloadlinux-dev-3f9e5c119a47d0fce01f8524ff0aba3acca71bb9.tar.xz
linux-dev-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/ipv4/fib_trie.c')
0 files changed, 0 insertions, 0 deletions