[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211111095444.461b900e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 11 Nov 2021 09:54:44 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Tadeusz Struk <tadeusz.struk@...aro.org>,
"David S. Miller" <davem@...emloft.net>
Cc: Marco Elver <elver@...gle.com>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Jonathan Lemon <jonathan.lemon@...il.com>,
Alexander Lobakin <alobakin@...me>,
Willem de Bruijn <willemb@...gle.com>,
Paolo Abeni <pabeni@...hat.com>,
Cong Wang <cong.wang@...edance.com>,
Kevin Hao <haokexin@...il.com>,
Ilias Apalodimas <ilias.apalodimas@...aro.org>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev, Kees Cook <keescook@...omium.org>,
Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH] skbuff: suppress clang object-size-mismatch error
On Thu, 11 Nov 2021 08:01:26 -0800 Tadeusz Struk wrote:
> > That general advice might not be compatible with what the kernel
> > wants, especially since UBSAN_OBJECT_SIZE is normally disabled and I
> > think known to cause these issues in the kernel.
> >
> > I'll defer to maintainers to decide what would be the preferred way of
> > handling this.
>
> Sure, I would also like to know if there is a better way of fixing this.
> Thanks for your feedback.
I remember Dave was working thru the tree at some point to clean up all
skb->next/skb->prev accesses so that we can switch over to using normal
list helpers.
I'm not sure if that stalled due to lack of time or some fundamental
problems.
Seems like finishing that would let us clean up such misuses?
Powered by blists - more mailing lists