Re: [PATCH] tcp: export symbol tcp_set_congestion_control

From: Jakub Kicinski
Date: Thu Mar 10 2022 - 15:48:34 EST


On Thu, 10 Mar 2022 21:48:30 +0800 Mingbao Sun wrote:
> Since the kernel API 'kernel_setsockopt' was removed, and since the
> function ‘tcp_set_congestion_control’ is just the real underlying guy
> handling this job, so it makes sense to get it exported.

Do you happen to have a reference to the commit which removed
kernel_setsockopt and the justification? My knee jerk reaction
would the that's a better path than allowing in-kernel socket users
to poke at internal functions even if that works as of today.