handshake_req_cancel(9)
π handshake_req_cancel(9) π
okay so this is a Kernel API Manual page, and the function is handshake_req_cancel() β say it with me, bestie π
β¨ NAME β¨
handshake_req_cancel β cancel an in-progress handshake. literally what it says on the tin π«Ά
πΈ SYNOPSIS πΈ
bool handshake_req_cancel (struct sock *sk );
π ARGUMENTS π
skβ the socket on which there is an ongoing handshake. thatβs the target, no cap π
π¦ DESCRIPTION π¦
So hereβs the tea: request cancellation races with request completion. π like, both things can be happening at the same time, and you donβt get to just assume who got there first. To determine who won, callers examine the return value from this function. thatβs the vibe check right there β¨
Return values:
trueβ an uncompleted handshake request was canceled. slay, it got canceled before it finished πfalseβ the handshake request was already completed, or it was not found. so either it already finished, or itβs just not there π
π SEE ALSO π
- Kernel file
./net/handshake/request.c handshake_req_alloc(9)handshake_req_private(9)handshake_req_next(9)handshake_req_submit(9)
like, go read the friends, iykyk ππ
mwah π this page lives in ./net/handshake, dated October 2026, and the title is still handshake_req_cancel(9) β periodt π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms