OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9890fe2
)
Revert "fib_rules: fix error in backport of e9919a24d302 ("fib_rules: return 0...")"
author
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 9 Jun 2019 07:55:08 +0000
(09:55 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 10:22:47 +0000
(12:22 +0200)
This reverts commit
d5c71a7c533e88a9fcc74fe1b5c25743868fa300
as the
patch that this "fixes" is about to be reverted...
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/fib_rules.c
patch
|
blob
|
history
diff --git
a/net/core/fib_rules.c
b/net/core/fib_rules.c
index
c03dd21
..
bb26457
100644
(file)
--- a/
net/core/fib_rules.c
+++ b/
net/core/fib_rules.c
@@
-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;