diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-11-27 15:41:31 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-11-27 15:41:31 +0000 |
commit | 1270ca4e890db8d477d052337fc4fe32065c07a0 (patch) | |
tree | 771311b4cba05d0decb38ede6202772bb8673deb /sys/dev/pci | |
parent | 5e7d562ba497d468dada7fb4f1c509eec4b97013 (diff) |
Use a single timer for all ND6 entries.
This prevents a use-after-free reported by Hrvoje Popovski where the
timeout function was already sleeping on the NET_LOCK() when ifconfig(8)
removed the enry from the table.
By iterating on a global list in the timeout routine we ensure that the
items are still valid when we process them. This also reduce differences
with ARP.
ok bluhm@, visa@
Diffstat (limited to 'sys/dev/pci')
0 files changed, 0 insertions, 0 deletions