mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +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:
committed by
Chris
parent
efc3bdb7c8
commit
5b56da3cba
@@ -487,7 +487,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;
|
||||
|
||||
Reference in New Issue
Block a user