Kui-Feng Lee 73e4f9e615 bpf, net: validate struct_ops when updating value.
Perform all validations when updating values of struct_ops maps. Doing
validation in st_ops->reg() and st_ops->update() is not necessary anymore.
However, tcp_register_congestion_control() has been called in various
places. It still needs to do validations.

Cc: netdev@vger.kernel.org
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240224223418.526631-2-thinker.li@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
2024-03-04 10:03:57 -08:00
..
2024-02-20 10:50:19 +01:00
2024-02-28 19:36:39 -08:00
2024-01-23 15:13:55 +01:00
2024-01-04 10:23:10 -08:00
2023-10-16 21:05:33 -07:00
2024-02-28 19:36:39 -08:00
2024-02-28 19:36:39 -08:00
2022-12-20 03:13:45 +01:00
2023-09-14 16:16:36 +02:00
2023-08-29 17:39:15 -07:00