Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2025 19:44:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem
Message-ID:  <bug-289017-7501-QGggmWbMVt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-289017-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-289017-7501@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289017

--- Comment #8 from Gui-Dong Han <hanguidong02@gmail.com> ---
Also, I want to highlight that compiler optimizations (such as inlining and
tail call optimization) can make pinpointing the exact crash location in a
stock kernel extremely difficult.

I observed that crashes on the unmodified kernel often appear to stall at
ether_output+0x6b0, masking the deeper call chain. The detailed stack trace
provided above (showing ether_output_frame, lagg_transmit_ethernet, and
lagg_lacp_start) was only obtained after I explicitly added __noinline and
__attribute__((optnone)) to the relevant functions to disable these
optimizations.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289017-7501-QGggmWbMVt>