Re: [PATCH net] net_sched: gen_estimator: fix lockdep splat

2018-01-29 Thread David Miller
From: Eric Dumazet Date: Sat, 27 Jan 2018 10:58:43 -0800 > From: Eric Dumazet > > syzbot reported a lockdep splat in gen_new_estimator() / > est_fetch_counters() when attempting to lock est->stats_lock. > > Since est_fetch_counters() is called from

Re: [PATCH net] net_sched: gen_estimator: fix lockdep splat

2018-01-28 Thread Cong Wang
On Sat, Jan 27, 2018 at 10:58 AM, Eric Dumazet wrote: > From: Eric Dumazet > > syzbot reported a lockdep splat in gen_new_estimator() / > est_fetch_counters() when attempting to lock est->stats_lock. > > Since est_fetch_counters() is called from BH

[PATCH net] net_sched: gen_estimator: fix lockdep splat

2018-01-27 Thread Eric Dumazet
From: Eric Dumazet syzbot reported a lockdep splat in gen_new_estimator() / est_fetch_counters() when attempting to lock est->stats_lock. Since est_fetch_counters() is called from BH context from timer interrupt, we need to block BH as well when calling it from process