[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 10 Oct 2017 08:32:17 -0400
From: Alexander Aring <aring@...atatu.com>
To: jhs@...atatu.com
Cc: xiyou.wangcong@...il.com, jiri@...nulli.us, netdev@...r.kernel.org,
kurup.manish@...il.com, bjb@...atatu.com,
Alexander Aring <aring@...atatu.com>
Subject: [RFC net 0/1] net: sched: act: fix rcu race
Hi,
while I reading tc action code to debug a "it does not work" statement I
suppose I detected issues with the current rcu handling of tc actions.
There are more than just skbmod which do it wrong. Anyway if somebody agree
with me here I will send more patches which fix this behaviour in other tc
actions where code was just copy&pasted.
The problem because nobody hits this issue is, I think that dump will do alot
of previous stuff which took more time than a rcu_synchronize. Anyway, this
change should avoid any use after free issues etc.
- Alex
Alexander Aring (1):
net: sched: act: fix rcu race in dump
net/sched/act_skbmod.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
--
2.11.0
Powered by blists - more mailing lists