git: kernel - Fix in6_pcbsetlport() panic
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Nov 14 08:41:35 PST 2026
commit 7570624c88e992c49fdc07e47af3af2a09fee73f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Nov 14 08:39:10 2026 -0800
kernel - Fix in6_pcbsetlport() panic
* An assertion is issued after lport is modulo-incremented but
before checking to see if the loop has exhausted.
This can result in a field overflow causing the assertion to
fail.
* Fix by moving the assertion to the correct place.
Summary of changes:
sys/netinet6/in6_src.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7570624c88e992c49fdc07e47af3af2a09fee73f
--
DragonFly BSD source repository
More information about the Commits
mailing list