From 00aae357b53e3bb604135fe3515afb44e192b552 Mon Sep 17 00:00:00 2001 From: Andrew Gallatin Date: Sat, 12 Jul 2025 18:35:29 -0400 Subject: [PATCH] lagg: Fix if_hw_tsomax_update() not being called In a mixed lagg, its likely that ifcaps or hwassist may not match between members. If this is true, the logical OR will be short-circuited and if_hw_tsomax_update() will not be called. Fix this by calling it inside the body of the if as well Sponsored by: Netflix (cherry picked from commit 78bdaa57cfbac759a6d79ecad2fae570e294a4b3) --- sys/net/if_lagg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c index f226ce11ca3..b7b41ee2243 100644 --- a/sys/net/if_lagg.c +++ b/sys/net/if_lagg.c @@ -714,6 +714,7 @@ lagg_capabilities(struct lagg_softc *sc) sc->sc_ifp->if_capenable = ena; sc->sc_ifp->if_capenable2 = ena2; sc->sc_ifp->if_hwassist = hwa; + (void)if_hw_tsomax_update(sc->sc_ifp, &hw_tsomax); getmicrotime(&sc->sc_ifp->if_lastchange); if (sc->sc_ifflags & IFF_DEBUG)