Skip to content
Commit 925bba24 authored by Arjun Roy's avatar Arjun Roy Committed by Jakub Kicinski
Browse files

tcp: Remove CMSG magic numbers for tcp_recvmsg().



At present, tcp_recvmsg() uses flags to track if any CMSGs are pending
and what those CMSGs are. These flags are currently magic numbers,
used only within tcp_recvmsg().

To prepare for receive timestamp support in tcp receive zerocopy,
gently refactor these magic numbers into enums.

Signed-off-by: default avatarArjun Roy <arjunroy@google.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 5225d5f5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment