Re: [PATCH] r8169: fix packet truncation after S4 resume on RTL8168H/RTL8111H

From: Paolo Abeni
Date: Thu Oct 09 2025 - 04:16:02 EST


On 10/6/25 5:49 AM, lilinmao wrote:
> From: Linmao Li <lilinmao@xxxxxxxxxx>

From: tag is not needed when the submitting email address matches the SoB

>
> After resume from S4 (hibernate), RTL8168H/RTL8111H truncates incoming
> packets. Packet captures show messages like "IP truncated-ip - 146 bytes
> missing!".
>
> The issue is caused by RxConfig not being properly re-initialized after
> resume. Re-initializing the RxConfig register before the chip
> re-initialization sequence avoids the truncation and restores correct
> packet reception.
>
> This follows the same pattern as commit ef9da46ddef0 ("r8169: fix data
> corruption issue on RTL8402").
>
> Signed-off-by: Linmao Li <lilinmao@xxxxxxxxxx>

Please send a new version including the fixes tag as asked by Jacob.
While at it please also add the missing 'net' prefix inside the subject.

You can retain Jacob's ack.

Thanks,

Paolo