commit | adeb45cbb5057731ce9c47aad93756135d7947bf | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Apr 26 14:03:50 2017 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 27 16:35:57 2017 -0400 |
tree | 4bdebd857bdd4491ebd9b83da6a68cec8fe1f1e4 | |
parent | 99f906e9ad7b6e79ffeda30f45906a8448b9d6a2 [diff] |
fib_rules: fix error return code Fix to return error code -EINVAL from the error handling case instead of 0, as done elsewhere in this function. Fixes: 622ec2c9d524 ("net: core: add UID to flows, rules, and routes") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>