tcp: Add clean acked data hook
authorIlya Lesokhin <ilyal@mellanox.com>
Mon, 30 Apr 2018 07:16:10 +0000 (10:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2018 13:42:46 +0000 (09:42 -0400)
commit6dac152355d9308c9e187bf1d38d98afefcaa315
tree1ef5da9984b3ccd942cb56116a7d178ccd4e77e0
parent1a1f4a28f3cb9f6c3420e5a646372209f4850552
tcp: Add clean acked data hook

Called when a TCP segment is acknowledged.
Could be used by application protocols who hold additional
metadata associated with the stream data.

This is required by TLS device offload to release
metadata associated with acknowledged TLS records.

Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_connection_sock.h
include/net/tcp.h
net/ipv4/tcp_input.c