Re: [PATCH net] net: usb: rtl8150: Fix frame padding

From: Michal Pecio

Date: Mon Oct 13 2025 - 06:50:51 EST


On Mon, 13 Oct 2025 10:57:51 +0100, Simon Horman wrote:
> Hi Michal,
>
> I think this should also increment a dropped counter.
> As this driver already uses dev->netdev->stats [*]
> I think that would be:
>
> dev->netdev->stats.tx_dropped++;
>
> [*] I specifically mention this, for the record because,
> new users are discouraged. But this driver is an existing user
> so I think we are ok.

Thanks, makes sense, will do.

I will only drop "dev->" because it's superfluous - we already have
'netdev' here, which was used to obtain 'dev' in the first place.