Commit 6c4dc75c251721f517e9daeb5370ea606b5b35ce

Authored by Alexey Khoroshilov
Committed by David S. Miller
1 parent 72c3fbf8dc

net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump

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>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

net/sched/act_skbmod.c
... ... @@ -228,7 +228,6 @@
228 228  
229 229 return skb->len;
230 230 nla_put_failure:
231   - rcu_read_unlock();
232 231 nlmsg_trim(skb, b);
233 232 return -1;
234 233 }