Re: [PATCH net-next v1 1/5] net: sched: Pass root lock to Qdisc_ops.enqueue

2020-07-07 Thread Cong Wang
On Tue, Jul 7, 2020 at 8:25 AM Petr Machata wrote: > > > Cong Wang writes: > > > On Fri, Jun 26, 2020 at 3:46 PM Petr Machata wrote: > >> > >> A following patch introduces qevents, points in qdisc algorithm where > >> packet can be processed by user-defined filters. Should this processing > >> l

Re: [PATCH net-next v1 1/5] net: sched: Pass root lock to Qdisc_ops.enqueue

2020-07-07 Thread Petr Machata
Cong Wang writes: > On Fri, Jun 26, 2020 at 3:46 PM Petr Machata wrote: >> >> A following patch introduces qevents, points in qdisc algorithm where >> packet can be processed by user-defined filters. Should this processing >> lead to a situation where a new packet is to be enqueued on the same

Re: [PATCH net-next v1 1/5] net: sched: Pass root lock to Qdisc_ops.enqueue

2020-07-06 Thread Cong Wang
On Fri, Jun 26, 2020 at 3:46 PM Petr Machata wrote: > > A following patch introduces qevents, points in qdisc algorithm where > packet can be processed by user-defined filters. Should this processing > lead to a situation where a new packet is to be enqueued on the same port, > holding the root lo

[PATCH net-next v1 1/5] net: sched: Pass root lock to Qdisc_ops.enqueue

2020-06-26 Thread Petr Machata
A following patch introduces qevents, points in qdisc algorithm where packet can be processed by user-defined filters. Should this processing lead to a situation where a new packet is to be enqueued on the same port, holding the root lock would lead to deadlocks. To solve the issue, qevent handler