Messages in this thread | | | Subject | Re: [PATCH v2] ipv4: fix a RCU-list lock in fib_triestat_seq_show | From | Eric Dumazet <> | Date | Thu, 26 Mar 2020 22:41:40 -0700 |
| |
On 3/26/20 8:27 PM, David Miller wrote: > From: Qian Cai <cai@lca.pw> > Date: Wed, 25 Mar 2020 18:01:00 -0400
>> Fix it by adding a pair of rcu_read_lock/unlock() and use >> cond_resched_rcu() to avoid the situation where walking of a large >> number of items may prevent scheduling for a long time. >> >> Signed-off-by: Qian Cai <cai@lca.pw> > > Eric, please review. >
Patch looks good to me, thanks !
Reviewed-by: Eric Dumazet <edumazet@google.com>
| |