summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-08-24 22:11:33 +0000
committermpi <mpi@openbsd.org>2015-08-24 22:11:33 +0000
commit5cc8f98cc309dd8d8340d879a36c96491871dac1 (patch)
treed6ea5064bb13988e757b951e7602baaae3e92cf1 /lib
parentCheck for a RTF_LOCAL entry instead of iterating on the global list (diff)
downloadwireguard-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