commit | c30d9356e9e8ed0735c1215e187b03d3ae8b4966 | [log] [tgz] |
---|---|---|
author | David Ahern <dsa@cumulusnetworks.com> | Tue Mar 27 18:21:55 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 29 14:10:30 2018 -0400 |
tree | b0bc0dbf1c2a9598341ccf9761f3092e3fa1e64f | |
parent | 6e2135ce54b72f8b2b20cef2a06ae6acb77a3431 [diff] |
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>