Messages in this thread | | | Date | Thu, 11 Nov 2021 09:54:44 -0800 | From | Jakub Kicinski <> | 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?
| |