projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: avoid one splat in fib_nl_delrule()
[platform/kernel/linux-rpi.git]
/
net
/
core
/
fib_rules.c
diff --git
a/net/core/fib_rules.c
b/net/core/fib_rules.c
index
c4ecd9f
..
a0093e1
100644
(file)
--- a/
net/core/fib_rules.c
+++ b/
net/core/fib_rules.c
@@
-517,7
+517,7
@@
int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr *nlh,
last = r;
}
-
fib_rule_get(rule
);
+
refcount_set(&rule->refcnt, 1
);
if (last)
list_add_rcu(&rule->list, &last->list);