projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c3fbf
)
net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Sun, 5 Mar 2017 00:01:55 +0000
(
03:01
+0300)
committer
David S. Miller
<davem@davemloft.net>
Tue, 7 Mar 2017 22:13:03 +0000
(14:13 -0800)
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_skbmod.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/act_skbmod.c
b/net/sched/act_skbmod.c
index 3b7074e2302487808dc1d16b01143d0b292ebe4e..c736627f8f4a0e0ff86db535ec95459a417e4ada 100644
(file)
--- a/
net/sched/act_skbmod.c
+++ b/
net/sched/act_skbmod.c
@@
-228,7
+228,6
@@
static int tcf_skbmod_dump(struct sk_buff *skb, struct tc_action *a,
return skb->len;
nla_put_failure:
- rcu_read_unlock();
nlmsg_trim(skb, b);
return -1;
}