[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f36d22d4-d21c-4f56-81e1-79cfce092f50@mojatatu.com>
Date: Mon, 4 Dec 2023 11:50:21 -0300
From: Pedro Tammela <pctammela@...atatu.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, jhs@...atatu.com, xiyou.wangcong@...il.com,
jiri@...nulli.us, marcelo.leitner@...il.com, vladbu@...dia.com,
Victor Nogueira <victor@...atatu.com>
Subject: Re: [PATCH net-next 2/4] net/sched: add helper to check if a
notification is needed
On 02/12/2023 16:18, Jakub Kicinski wrote:
>> +{
>> + return (nlflags & NLM_F_ECHO) || rtnl_has_listeners(net, RTNLGRP_TC);
>
> I think it'd be nice to have an rtnl_* helper which looks at the flags
> as well. With a proper kdoc. Maybe someone will notice that and remember
> to implement F_ECHO for their command?
Ack, will change this to a generic rtnl helper
Powered by blists - more mailing lists