mirror of
https://github.com/opnsense/src.git
synced 2026-07-16 04:22:59 -04:00
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 78bdaa57cf)
This commit is contained in:
parent
605df6a3ae
commit
00aae357b5
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue