[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHmME9phbAJEbogBVZqmmb+44_V--rG_L5hAZCWeJVJy6-W7ag@mail.gmail.com>
Date: Wed, 2 Nov 2022 03:44:38 +0100
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: Julian Anastasov <ja@....bg>, Simon Horman <horms@...ge.net.au>,
stable@...r.kernel.org, netfilter-devel@...r.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
lvs-devel@...r.kernel.org
Subject: Re: [PATCH] ipvs: use explicitly signed chars
Hi Pablo,
On Wed, Oct 26, 2022 at 2:34 PM Jason A. Donenfeld <Jason@...c4.com> wrote:
>
> The `char` type with no explicit sign is sometimes signed and sometimes
> unsigned. This code will break on platforms such as arm, where char is
> unsigned. So mark it here as explicitly signed, so that the
> todrop_counter decrement and subsequent comparison is correct.
>
> Cc: Pablo Neira Ayuso <pablo@...filter.org>
> Cc: Julian Anastasov <ja@....bg>
> Cc: Simon Horman <horms@...ge.net.au>
> Cc: stable@...r.kernel.org
> Signed-off-by: Jason A. Donenfeld <Jason@...c4.com>
Wondering if you planned on taking this into nf.git for 6.1?
Thanks,
Jason
Powered by blists - more mailing lists