* Re: [Cake] [PATCH net-next, v2] net: sched: remove redundant NULL check in change hook function
[not found] <20220829071219.208646-1-shaozhengchao@huawei.com>
@ 2022-08-29 8:33 ` Toke Høiland-Jørgensen
0 siblings, 0 replies; only message in thread
From: Toke Høiland-Jørgensen @ 2022-08-29 8:33 UTC (permalink / raw)
To: Zhengchao Shao, netdev, linux-kernel, jhs, xiyou.wangcong, jiri,
davem, edumazet, kuba, pabeni, stephen
Cc: cake, weiyongjun1, yuehaibing, shaozhengchao
Zhengchao Shao <shaozhengchao@huawei.com> writes:
> Currently, the change function can be called by two ways. The one way is
> that qdisc_change() will call it. Before calling change function,
> qdisc_change() ensures tca[TCA_OPTIONS] is not empty. The other way is
> that .init() will call it. The opt parameter is also checked before
> calling change function in .init(). Therefore, it's no need to check the
> input parameter opt in change function.
>
> Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
for sch_cake:
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-29 8:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220829071219.208646-1-shaozhengchao@huawei.com>
2022-08-29 8:33 ` [Cake] [PATCH net-next, v2] net: sched: remove redundant NULL check in change hook function Toke Høiland-Jørgensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox