[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 8 Aug 2023 14:16:06 +0530
From: Pavan Chebbi <pavan.chebbi@...adcom.com>
To: Lin Ma <linma@....edu.cn>
Cc: michael.chan@...adcom.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, ajit.khaparde@...adcom.com,
sriharsha.basavapatna@...adcom.com, somnath.kotur@...adcom.com,
jesse.brandeburg@...el.com, anthony.l.nguyen@...el.com, saeedm@...dia.com,
leon@...nel.org, simon.horman@...igine.com, louis.peens@...igine.com,
yinjun.zhang@...igine.com, huanhuan.wang@...igine.com, tglx@...utronix.de,
na.wang@...igine.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
intel-wired-lan@...ts.osuosl.org, linux-rdma@...r.kernel.org,
oss-drivers@...igine.com
Subject: Re: [PATCH net-next v2] rtnetlink: remove redundant checks for nlattr IFLA_BRIDGE_MODE
On Mon, Aug 7, 2023 at 2:44 PM Lin Ma <linma@....edu.cn> wrote:
>
> The commit d73ef2d69c0d ("rtnetlink: let rtnl_bridge_setlink checks
> IFLA_BRIDGE_MODE length") added the nla_len check in rtnl_bridge_setlink,
> which is the only caller for ndo_bridge_setlink handlers defined in
> low-level driver codes. Hence, this patch cleanups the redundant checks in
> each ndo_bridge_setlink handler function.
>
> Suggested-by: Hangbin Liu <liuhangbin@...il.com>
> Signed-off-by: Lin Ma <linma@....edu.cn>
> ---
> V1->V2: delete the link to last commit as it already in tree
>
Acked-by: Pavan Chebbi <pavan.chebbi@...adcom.com>
> --
> 2.17.1
>
>
Download attachment "smime.p7s" of type "application/pkcs7-signature" (4209 bytes)
Powered by blists - more mailing lists