diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-04-26 16:03:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-27 22:35:57 +0200 |
commit | adeb45cbb5057731ce9c47aad93756135d7947bf (patch) | |
tree | 4bdebd857bdd4491ebd9b83da6a68cec8fe1f1e4 /drivers/net/vrf.c | |
parent | bridge: add per-port broadcast flood flag (diff) | |
download | linux-adeb45cbb5057731ce9c47aad93756135d7947bf.tar.xz linux-adeb45cbb5057731ce9c47aad93756135d7947bf.zip |
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>
Diffstat (limited to 'drivers/net/vrf.c')
0 files changed, 0 insertions, 0 deletions