Thread (6 messages) flat view 6 messages, 3 authors, 2022-11-02

Re: [PATCH] ipvs: use explicitly signed chars

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2022-11-02 08:27:05
Also in: lkml, lvs-devel, netfilter-devel, stable

On Wed, Oct 26, 2022 at 02:32:16PM +0200, Jason A. Donenfeld 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.
Applied, thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help