Revert "fib_rules: fix error in backport of e9919a24d3 ("fib_rules: return 0...")"

This reverts commit d5c71a7c53 as the
patch that this "fixes" is about to be reverted...

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Greg Kroah-Hartman
2019-06-09 09:55:08 +02:00
parent 9890fe2f90
commit 73a1cbfe8e

View File

@@ -430,7 +430,6 @@ int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr *nlh)
goto errout_free;
if (rule_exists(ops, frh, tb, rule)) {
err = 0;
if (nlh->nlmsg_flags & NLM_F_EXCL)
err = -EEXIST;
goto errout_free;