diff options
author | 2015-08-24 22:11:33 +0000 | |
---|---|---|
committer | 2015-08-24 22:11:33 +0000 | |
commit | 5cc8f98cc309dd8d8340d879a36c96491871dac1 (patch) | |
tree | d6ea5064bb13988e757b951e7602baaae3e92cf1 /lib | |
parent | Check for a RTF_LOCAL entry instead of iterating on the global list (diff) | |
download | wireguard-openbsd-5cc8f98cc309dd8d8340d879a36c96491871dac1.tar.xz wireguard-openbsd-5cc8f98cc309dd8d8340d879a36c96491871dac1.zip |
Always increment the reference counter of the returned route entry in
rtrequest1(9).
This simplifies rtfree(9) dances and will prevent another CPU to free
the entry before we're done with it as soon as routing functions can
be executed in parallel.
ok bluhm@, mikeb@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions