diff options
| author | Benjamin Hesmans <[email protected]> | 2022-09-26 23:27:37 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-09-29 01:52:03 +0000 |
| commit | 3242abeb8da7071fa40d32346ed36343bee33b80 (patch) | |
| tree | 195c76cd8282d89221a43180dfc69669589649d1 /net/ipv4/tcp.c | |
| parent | mptcp: add TCP_FASTOPEN_CONNECT socket option (diff) | |
| download | kernel-3242abeb8da7071fa40d32346ed36343bee33b80.tar.gz kernel-3242abeb8da7071fa40d32346ed36343bee33b80.zip | |
tcp: export tcp_sendmsg_fastopen
It will be used to support TCP FastOpen with MPTCP in the following
commit.
Acked-by: Paolo Abeni <[email protected]>
Reviewed-by: Matthieu Baerts <[email protected]>
Co-developed-by: Dmytro Shytyi <[email protected]>
Signed-off-by: Dmytro Shytyi <[email protected]>
Signed-off-by: Benjamin Hesmans <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp.c')
| -rw-r--r-- | net/ipv4/tcp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index a109a4cb1e47..648b5c54bb32 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -1162,9 +1162,8 @@ void tcp_free_fastopen_req(struct tcp_sock *tp) } } -static int tcp_sendmsg_fastopen(struct sock *sk, struct msghdr *msg, - int *copied, size_t size, - struct ubuf_info *uarg) +int tcp_sendmsg_fastopen(struct sock *sk, struct msghdr *msg, int *copied, + size_t size, struct ubuf_info *uarg) { struct tcp_sock *tp = tcp_sk(sk); struct inet_sock *inet = inet_sk(sk); |
