summaryrefslogtreecommitdiff
path: root/sys/net/if_pflow.h
diff options
context:
space:
mode:
authormvs <mvs@cvs.openbsd.org>2021-05-16 13:09:40 +0000
committermvs <mvs@cvs.openbsd.org>2021-05-16 13:09:40 +0000
commit6e9b6d11f44751130492d934121c975470d23fc7 (patch)
tree72ac004ba9ec6652f2012111d81b3da260c522ff /sys/net/if_pflow.h
parenta85d436e698576aa23de7089d798c5b9b397b215 (diff)
In route detach we delete `rop_timeout' while `rop' is still linked to
`rtp_list' so it could be re-added by concurrent thread. Also timeout_del(9) doesn't wait timeout proc to be finished and timeout_del_barrier(9) should be used for that. So use timeout_del_barrier(9) instead of timeout_del(9) and moved it just after refcnt_finalize(9). This fixes potential use-after-free issue in route_detach(). ok mpi@
Diffstat (limited to 'sys/net/if_pflow.h')
0 files changed, 0 insertions, 0 deletions