mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user