[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221117083537.6aceb759@hermes.local>
Date: Thu, 17 Nov 2022 08:35:37 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Lai Peter Jun Ann <jun.ann.lai@...el.com>
Cc: netdev@...r.kernel.org, David Ahern <dsahern@...nel.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: Fix no error return when
large parent id used
On Thu, 17 Nov 2022 13:33:17 +0800
Lai Peter Jun Ann <jun.ann.lai@...el.com> wrote:
> This patch is to fix the issue where there is no error return
> when large value of parent ID is being used. The return value by
> stroul() is unsigned long int. Hence the datatype for maj and min
> 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>
Yes, looks good. Will apply to main.
What about qdisc_handle as well?
Powered by blists - more mailing lists