Use the _SAFE_ version of SRPL_FOREACH() in rtable_walk_helper() to
authormpi <mpi@openbsd.org>
Mon, 4 Jul 2016 08:11:48 +0000 (08:11 +0000)
committermpi <mpi@openbsd.org>
Mon, 4 Jul 2016 08:11:48 +0000 (08:11 +0000)
commit7bffaab16f10385165fc5cc342a46865f6bfd0d2
tree95d31ff839105653e1b035292af626b693771c23
parent82f40691c487cdba16149a675f32851558992654
Use the _SAFE_ version of SRPL_FOREACH() in rtable_walk_helper() to
prevent an off-by-one when removing entries from the mpath list.

Fix a regression introduced by the refactoring needed to serialize
rtable_walk() with create/delete.

ok jca@
sys/net/art.c
sys/net/rtable.c