summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2023-08-06 10:24:56 +0300
committerDavid S. Miller <davem@davemloft.net>2023-08-06 10:24:56 +0300
commit16fd753995f740fb968edaf5fd57ffb96020102e (patch)
treecaae5595891ec6a1e0d7d138186032e3d909eb96 /include
parent81083076a007d3af3f2216ad9be1374de0687d49 (diff)
parent6e97ba552b8d3dd074a28b8600740b8bed42267b (diff)
downloadlinux-16fd753995f740fb968edaf5fd57ffb96020102e.tar.xz
Merge branch 'tcp-options-lockless'
Eric Dumazet says: ==================== tcp: set few options locklessly This series is avoiding the socket lock for six TCP options. They are not heavily used, but this exercise can give ideas for other parts of TCP/IP stack :) ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index d16abdb3541a..3c5efeeb024f 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -564,6 +564,6 @@ void __tcp_sock_set_nodelay(struct sock *sk, bool on);
void tcp_sock_set_nodelay(struct sock *sk);
void tcp_sock_set_quickack(struct sock *sk, int val);
int tcp_sock_set_syncnt(struct sock *sk, int val);
-void tcp_sock_set_user_timeout(struct sock *sk, u32 val);
+int tcp_sock_set_user_timeout(struct sock *sk, int val);
#endif /* _LINUX_TCP_H */