aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/fib_rules.c
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2018-03-27 18:21:55 -0700
committerDavid S. Miller <davem@davemloft.net>2018-03-29 14:10:30 -0400
commitc30d9356e9e8ed0735c1215e187b03d3ae8b4966 (patch)
treeb0bc0dbf1c2a9598341ccf9761f3092e3fa1e64f /net/core/fib_rules.c
parentMerge tag 'mlx5-updates-2018-03-27' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff)
downloadlinux-dev-c30d9356e9e8ed0735c1215e187b03d3ae8b4966.tar.xz
linux-dev-c30d9356e9e8ed0735c1215e187b03d3ae8b4966.zip
net: Fix fib notifer to return errno
Notifier handlers use notifier_from_errno to convert any potential error to an encoded format. As a consequence the other side, call_fib_notifier{s} in this case, needs to use notifier_to_errno to return the error from the handler back to its caller. Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/fib_rules.c')
0 files changed, 0 insertions, 0 deletions