git: DragonFly_RELEASE_6_4 kernel - Fix in6_pcbsetlport() panic

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Nov 14 08:42:03 PST 2026


commit fa3b19cbc1d785319e3359e67e3f806e59af267e
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/fa3b19cbc1d785319e3359e67e3f806e59af267e


-- 
DragonFly BSD source repository


More information about the Commits mailing list