Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1592646 > unrolled thread

[PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump

Started byAlexey Khoroshilov <khoroshilov@ispras.ru>
First post2017-03-05 01:10 +0100
Last post2017-03-07 23:50 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump Alexey Khoroshilov <khoroshilov@ispras.ru> - 2017-03-05 01:10 +0100
    Re: [PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock in  tcf_skbmod_dump Jamal Hadi Salim <jhs@mojatatu.com> - 2017-03-05 03:30 +0100
    Re: [PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock  in tcf_skbmod_dump David Miller <davem@davemloft.net> - 2017-03-07 23:50 +0100

#1592646 — [PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump

FromAlexey Khoroshilov <khoroshilov@ispras.ru>
Date2017-03-05 01:10 +0100
Subject[PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump
Message-ID<thrUl-cW-7@gated-at.bofh.it>
Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
---
 net/sched/act_skbmod.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/sched/act_skbmod.c b/net/sched/act_skbmod.c
index 3b7074e23024..c736627f8f4a 100644
--- 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;
 }
-- 
2.7.4

[toc] | [next] | [standalone]


#1592688 — Re: [PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump

FromJamal Hadi Salim <jhs@mojatatu.com>
Date2017-03-05 03:30 +0100
SubjectRe: [PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump
Message-ID<thu5P-1AN-7@gated-at.bofh.it>
In reply to#1592646
On 17-03-04 07:01 PM, Alexey Khoroshilov wrote:
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>

Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>

cheers,
jamal

[toc] | [prev] | [next] | [standalone]


#1594711 — Re: [PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump

FromDavid Miller <davem@davemloft.net>
Date2017-03-07 23:50 +0100
SubjectRe: [PATCH] net/sched: act_skbmod: remove unneeded rcu_read_unlock in tcf_skbmod_dump
Message-ID<tiw5A-5NL-17@gated-at.bofh.it>
In reply to#1592646
From: Alexey Khoroshilov <khoroshilov@ispras.ru>
Date: Sun,  5 Mar 2017 03:01:55 +0300

> Found by Linux Driver Verification project (linuxtesting.org).
> 
> Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>

Applied and queued up for -stable, thanks.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web