summaryrefslogtreecommitdiff
path: root/etc/etc.luna88k
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2021-03-21 18:14:00 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2021-03-21 18:14:00 +0000
commit476899496960ee25fc0163659937acb6dfe27c56 (patch)
treea97ebf1caed2fee86b24dea45bb610b2e6cccd7c /etc/etc.luna88k
parentfa1d3241de5c466a803cd0b64f5458154b281fbd (diff)
wg(4): fix race between tx/rx handshakes, from Matt Dunwoodie, ok mpi@
"There is a race between sending/receiving handshake packets. This occurs if we consume an initiation, then send an initiation prior to replying to the consumed initiation. In particular, when consuming an initiation, we don't generate the index until creating the response (which is incorrect). If we attempt to create an initiation between these processes, we drop any outstanding handshake which in this case has index 0 as set when consuming the initiation. The fix attached is to generate the index when consuming the initiation so that any spurious initiation creation can drop a valid index. The patch also consolidates setting fields on the handshake."
Diffstat (limited to 'etc/etc.luna88k')
0 files changed, 0 insertions, 0 deletions