[PATCH net-next] lib/win_minmax: export symbol of minmax_running_min

From: Yixin Shen
Date: Thu Apr 13 2023 - 12:47:49 EST


This commit export the symbol of the function minmax_running_min
to make it accessible to dynamically loaded modules. It can make
this library more general, especially for those congestion
control algorithm modules who wants to implement a windowed min
filter.

Signed-off-by: Yixin Shen <bobankhshen@xxxxxxxxx>
---
lib/win_minmax.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/lib/win_minmax.c b/lib/win_minmax.c
index ec10506834b6..1682e614309c 100644
--- a/lib/win_minmax.c
+++ b/lib/win_minmax.c
@@ -97,3 +97,4 @@ u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas)

return minmax_subwin_update(m, win, &val);
}
+EXPORT_SYMBOL(minmax_running_min);
--
2.25.1