]> Git Repo - linux.git/commit
mptcp: add TCP_INQ cmsg support
authorFlorian Westphal <[email protected]>
Fri, 3 Dec 2021 22:35:32 +0000 (14:35 -0800)
committerJakub Kicinski <[email protected]>
Tue, 7 Dec 2021 19:36:29 +0000 (11:36 -0800)
commit2c9e77659a0c8d7ce96af3e420914ace1e3f7d21
treefbb3d3ae9ff493a1d6a76b13567f5b2993afb98a
parentc0e5e11af12b76d0dbed700c1088c6827cdcf56c
mptcp: add TCP_INQ cmsg support

Support the TCP_INQ setsockopt.

This is a boolean that tells recvmsg path to include the remaining
in-sequence bytes in the cmsg data.

v2: do not use CB(skb)->offset, increment map_seq instead (Paolo Abeni)
v3: adjust CB(skb)->map_seq when taking skb from ofo queue (Paolo Abeni)

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/224
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
net/mptcp/protocol.c
net/mptcp/protocol.h
net/mptcp/sockopt.c
This page took 0.05655 seconds and 4 git commands to generate.