Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by James Lee
Wed, 14 Oct 2026 04:38
Re: [PATCH net-next v2 2/7] net: mctp: usblib: Add test for splits inside headers
Author: James Lee
Date: Wed, 14 Oct 2026 04:38
Date: Wed, 14 Oct 2026 04:38
30 lines
6955 bytes
6955 bytes
> [Severity: Low] > > Should the return value of mctp_usblib_test_rx_complete() be checked > here, > as the other call sites in this file do? Yes, good catch. > [Severity: High] > > Does this leak the skb data buffer? kfree() releases only the struct > sk_buff itself and skips skb_release_all()/skb_free_head(), so skb->head is > never freed. Yes it does, will fix. > [Severity: Low] > > This isn't a bug, but i is never used once the invocations are unrolled, so > this emits a -Wunused-variable warning and fails the build under > CONFIG_WERROR with CONFIG_MCTP_TRANSPORT_USBLIB_TEST enabled. The > declaration is removed again by the next patch in the series, "net: mctp: > usblib: Add tests of invalid headers", so the final state of the series is > clean; could it be dropped in this patch instead to keep the series > bisectable? Will remove.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads