Between the calls to art_match() and SRPL_FIRST() another CPU may
authorbluhm <bluhm@openbsd.org>
Wed, 29 Jun 2022 22:20:47 +0000 (22:20 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 29 Jun 2022 22:20:47 +0000 (22:20 +0000)
commit55bfdc9f32022d05ff6df6884d9feac0537b2c23
treed805aaf5105f078484311dd111b98175f4bc115b
parente9f756769d22473955d6535a62e78476bf0dcd13
Between the calls to art_match() and SRPL_FIRST() another CPU may
remove the route from the list.  In rtable_match() check if the
route entry is NULL.
discussed with mpi@ jmatthew@ claudio@; OK mpi@
sys/net/rtable.c