[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 #1 from Zhenlei Huang <[email protected]> ---
(In reply to Qiu-ji Chen from comment #0)
Thanks for the reporting !

I think that is a nice finding.

As for the fix, FreeBSD's net stack is moving towards to lockless fast path, so
probably the right fix should be flagging the interface down and waiting until
the fast paths finish their work and then changing the proto.

Do you have any test cases so that it will make it easier to repeat the issue
and verify the fix ?

-- 
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.