[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190830.141200.1276391338286705378.davem@davemloft.net>
Date: Fri, 30 Aug 2019 14:12:00 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vinicius.gomes@...el.com
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, olteanv@...il.com
Subject: Re: [PATCH net v1] net/sched: cbs: Fix not adding cbs instance to
list
From: Vinicius Costa Gomes <vinicius.gomes@...el.com>
Date: Wed, 28 Aug 2019 10:36:15 -0700
> When removing a cbs instance when offloading is enabled, the crash
> below can be observed. Also, the current code doesn't handle correctly
> the case when offload is disabled without removing the qdisc: if the
> link speed changes the credit calculations will be wrong.
I think it does handle that case correctly, because in the !offloaded
code path of cbs_change() it makes an explict call to the function
cbs_set_port_rate().
And that is the only location where offload can be disabled on an
already existing instance.
If you agree, please fix your commit message to be more accurate on
this point.
Thank you.
Powered by blists - more mailing lists