Thread (51 messages) 51 messages, 7 authors, 2023-05-24

Re: [PATCH net 6/6] net/sched: qdisc_destroy() old ingress and clsact Qdiscs before grafting

From: Peilin Ye <hidden>
Date: 2023-05-12 00:11:33
Also in: lkml

On Thu, May 11, 2023 at 04:46:33PM -0700, Peilin Ye wrote:
On Thu, May 11, 2023 at 04:20:23PM -0700, Jakub Kicinski wrote:
quoted
quoted
But I see your point, thanks for the suggestion!  I'll try ->init() and
create v2.
->init() may be too early, aren't there any error points which could
prevent the Qdisc from binding after ->init() was called?
You're right, it's in qdisc_create(), argh...
->destroy() is called for all error points between ->init() and
dev_graft_qdisc().  I'll try handling it in ->destroy().

Thanks,
Peilin Ye
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help