Re: [PATCH] cgroup: Drop sock_cgroup_classid() dummy implementation

From: Tejun Heo
Date: Tue Jun 03 2025 - 14:15:46 EST


On Tue, Jun 03, 2025 at 05:45:27PM +0200, Michal Koutný wrote:
> The semantic of returning 0 is unclear when !CONFIG_CGROUP_NET_CLASSID.
> Since there are no callers of sock_cgroup_classid() with that config
> anymore we can undefine the helper at all and enforce all (future)
> callers to handle cases when !CONFIG_CGROUP_NET_CLASSID.
>
> Signed-off-by: Michal Koutný <mkoutny@xxxxxxxx>
> Link: https://lore.kernel.org/r/Z_52r_v9-3JUzDT7@calendula/
> Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Applied to cgroup/for-6.16-fixes.

Thanks.

--
tejun