[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y35CHrnLRhsVis29@corigine.com>
Date: Wed, 23 Nov 2022 16:54:06 +0100
From: Simon Horman <simon.horman@...igine.com>
To: Lai Peter Jun Ann <jun.ann.lai@...el.com>
Cc: netdev@...r.kernel.org, David Ahern <dsahern@...nel.org>,
Stephen Hemminger <stephen@...workplumber.org>,
Vinicius Costa Gomes <vinicius.gomes@...el.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>,
Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@...el.com>
Subject: Re: [PATCH iproute2-next v1] tc_util: Change datatype for maj to
avoid overflow issue
On Mon, Nov 21, 2022 at 10:29:09AM +0800, Lai Peter Jun Ann wrote:
> [You don't often get email from jun.ann.lai@...el.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> The return value by stroul() is unsigned long int. Hence the datatype
> for maj should defined as unsigned long to avoid overflow issue.
>
> Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@...el.com>
> Signed-off-by: Lai Peter Jun Ann <jun.ann.lai@...el.com>
Reviewed-by: Simon Horman <simon.horman@...igine.com>
Powered by blists - more mailing lists