diff options
author | Tom Herbert <tom@herbertland.com> | 2016-03-07 23:11:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-09 22:36:15 +0100 |
commit | 29152a34f72cb4d7ab32885ad2f20a482c92a8f3 (patch) | |
tree | 89287b971525eab8a238437e3e12959074f9fa63 /Documentation/networking/kcm.txt | |
parent | kcm: Add memory limit for receive message construction (diff) | |
download | linux-29152a34f72cb4d7ab32885ad2f20a482c92a8f3.tar.xz linux-29152a34f72cb4d7ab32885ad2f20a482c92a8f3.zip |
kcm: Add receive message timeout
This patch adds receive timeout for message assembly on the attached TCP
sockets. The timeout is set when a new messages is started and the whole
message has not been received by TCP (not in the receive queue). If the
completely message is subsequently received the timer is cancelled, if the
timer expires the RX side is aborted.
The timeout value is taken from the socket timeout (SO_RCVTIMEO) that is
set on a TCP socket (i.e. set by get sockopt before attaching a TCP socket
to KCM.
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/kcm.txt')
0 files changed, 0 insertions, 0 deletions