1
0
Fork 0
alistair23-linux/net/kcm
Tom Herbert 29152a34f7 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>
2016-03-09 16:36:15 -05:00
..
Kconfig kcm: Kernel Connection Multiplexor module 2016-03-09 16:36:14 -05:00
Makefile kcm: Add statistics and proc interfaces 2016-03-09 16:36:14 -05:00
kcmproc.c kcm: Add receive message timeout 2016-03-09 16:36:15 -05:00
kcmsock.c kcm: Add receive message timeout 2016-03-09 16:36:15 -05:00