git: 6ceb731a9897 - stable/15 - lagg: Make lagg_link_active() static
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Feb 2026 10:01:04 UTC
The branch stable/15 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=6ceb731a989756126f4bfb00adc57646a11cad75
commit 6ceb731a989756126f4bfb00adc57646a11cad75
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2026-02-09 17:48:07 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-02-16 10:00:30 +0000
lagg: Make lagg_link_active() static
It is declared as static. Make the definition consistent with the
declaration.
It was ever fixed by commit 52e53e2de0ec, but the commit was reverted,
leaving it unfixed.
No functional change intended.
MFC after: 3 days
(cherry picked from commit 30988d0a7bd7ebd5f5825b9b7aa04ff0af788aa7)
---
sys/net/if_lagg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c
index 1e4d3d8d85ac..c30af5bfcc4e 100644
--- a/sys/net/if_lagg.c
+++ b/sys/net/if_lagg.c
@@ -2326,7 +2326,7 @@ lagg_port_state(struct ifnet *ifp, int state)
LAGG_XUNLOCK(sc);
}
-struct lagg_port *
+static struct lagg_port *
lagg_link_active(struct lagg_softc *sc, struct lagg_port *lp)
{
struct lagg_port *lp_next, *rval = NULL;