diff options
author | 2018-03-27 18:21:55 -0700 | |
---|---|---|
committer | 2018-03-29 14:10:30 -0400 | |
commit | c30d9356e9e8ed0735c1215e187b03d3ae8b4966 (patch) | |
tree | b0bc0dbf1c2a9598341ccf9761f3092e3fa1e64f /drivers/net/netdevsim/fib.c | |
parent | Merge tag 'mlx5-updates-2018-03-27' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff) | |
download | wireguard-linux-c30d9356e9e8ed0735c1215e187b03d3ae8b4966.tar.xz wireguard-linux-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 'drivers/net/netdevsim/fib.c')
0 files changed, 0 insertions, 0 deletions