summaryrefslogtreecommitdiffhomepage
path: root/src/compat/compat-asm.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-08-01 15:35:42 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-08-01 19:24:04 +0200
commitca85226a5e7df658084a771300b3394e15b811f1 (patch)
tree45a25e35e42c5912a4fc83fd03e61b8ddb9938bc /src/compat/compat-asm.h
parent2ed11903fb8e9330f16699026e5b4f2ff156f803 (diff)
queueing: keep reference to peer after setting atomic state bit
After we atomic_set, the peer is allowed to be freed, which means if we want to continue to reference it, we need to bump the reference count. This was introduced a few commits ago by b713ab0e when implementing some simplification suggestions. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/compat-asm.h')
0 files changed, 0 insertions, 0 deletions