diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-09 10:55:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-11 13:21:47 +0300 |
commit | 7e2b5c2cb610f4333d79430b571511c26022f070 (patch) | |
tree | 0fbc03458690db804e497558b5d3476146e35d40 /net | |
parent | 5a30ca96b685cd381326da4c131250aa578470de (diff) | |
download | linux-7e2b5c2cb610f4333d79430b571511c26022f070.tar.xz |
Revert "fib_rules: fix error in backport of e9919a24d302 ("fib_rules: return 0...")"
This reverts commit 691306ebd18f945e44b4552a4bfcca3475e5d957 as the
patch that this "fixes" is about to be reverted...
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/fib_rules.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c index b08c69730a72..5229d1cf51fd 100644 --- a/net/core/fib_rules.c +++ b/net/core/fib_rules.c @@ -564,7 +564,6 @@ int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr *nlh, } if (rule_exists(ops, frh, tb, rule)) { - err = 0; if (nlh->nlmsg_flags & NLM_F_EXCL) err = -EEXIST; goto errout_free; |