diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2018-06-19 18:47:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-11 16:03:47 +0200 |
commit | 21e9341ed96024aaead1a12c77e9869ad81f8b96 (patch) | |
tree | 39f3ec0dd4cfca5a31e9aaefafdfb76be207b425 /kernel/trace/trace_functions_graph.c | |
parent | 2aa465dbe267a09311560fcf4592db7689270f90 (diff) |
ipv4: Fix error return value in fib_convert_metrics()
The validation code modified by commit 5b5e7a0de2bb ("net: metrics:
add proper netlink validation") is organised differently in older
kernel versions. The fib_convert_metrics() function that is modified
in the backports to 4.4 and 4.9 needs to returns an error code, not a
success flag.
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions