Re: [PATCH v2 0/2] platform/surface: aggregator: Fix packet list handling in ssh_ptl_shutdown()
From: Ilpo Järvinen
Date: Fri Dec 04 2026 - 13:45:30 EST
On Sat, 07 Nov 2026 08:07:30 +0000, Wentao Liang wrote:
> this is a split of the single patch I sent in September, following the
> review comments from Ilpo and Maximilian. The two problems in
> ssh_ptl_shutdown() are independent, so patch 1 corrects the list that
> pending packets are moved to, and patch 2 makes both drain loops safe
> against the packet being released while iterating.
>
> Changes in v2:
> - Sorry for the delay in getting back to this review.
> - Split into two patches as requested, instead of one patch that mixes
> two independent problems.
> - The pending/complete list mismatch has its own changelog describing
> the effect of the wrong list node, as Maximilian asked for.
> - Both patches carry Maximilian's Acked-by.
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.
The list of commits applied:
[1/2] platform/surface: aggregator: Fix wrong completion list for pending packets
commit: 44bf81112e56758fd338a7a20aaace2927a614f0
[2/2] platform/surface: aggregator: Fix use-after-free in ssh_ptl_shutdown()
commit: 5a73b420516fa0ec74e6011ea4f4f3edd5eeb35d
--
i.