[Bug 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289017

--- Comment #8 from Gui-Dong Han <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.