Use a distinct variable while iterating the list of existing devices.
authoranton <anton@openbsd.org>
Thu, 30 Dec 2021 14:25:39 +0000 (14:25 +0000)
committeranton <anton@openbsd.org>
Thu, 30 Dec 2021 14:25:39 +0000 (14:25 +0000)
commit7945134bbda7ff60550100e843ec5dd4d08c0867
tree074cea43a0cd317f7bab8376cbd8c5b19df969b0
parent7544b6854ce40eca74e77b9a5e6697618ac6f102
Use a distinct variable while iterating the list of existing devices.

ok mvs@

Reported-by: syzbot+e2d1df67f742a5a47938@syzkaller.appspotmail.com
Reported-by: syzbot+72298724beda82ec8e7f@syzkaller.appspotmail.com
sys/net/if_pppx.c