Re: [PATCH net-next] net/sched: act_api: Remove unnecessary nlmsg_trim()
From: Jakub Kicinski
Date: Wed Aug 13 2025 - 20:35:00 EST
On Wed, 13 Aug 2025 20:59:15 +0800 Yue Haibing wrote:
> If tca_get_fill() fails, all callers free the skb immediately, no need to
> trim it back to the previous size.
Okay, but why do we care enough to change it?
This is a fairly common pattern in netlink message formatting.
--
pw-bot: cr