git: inet6 - Fix panic after route purge

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Sep 18 12:57:50 PDT 2020


commit 9e0a14cdfa38f9c1a9b599c3ec3d57a99df836d5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Sep 18 12:55:57 2020 -0700

    inet6 - Fix panic after route purge
    
    * When the codepath in nd6_timer_dispatch() purges an ia6, it
      then continues on and tests content in the now dead structure,
      resulting in a panic.
    
    * Once an ia6 has been purged we continue the loop at the next
      ia6 instead of falling through and doing more tests.
    
    Reported-by: phma

Summary of changes:
 sys/netinet6/nd6.c | 2 ++
 1 file changed, 2 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9e0a14cdfa38f9c1a9b599c3ec3d57a99df836d5


-- 
DragonFly BSD source repository



More information about the Commits mailing list