diff options
| author | David S. Miller <davem@davemloft.net> | 2023-08-06 10:24:56 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-08-06 10:24:56 +0300 |
| commit | 16fd753995f740fb968edaf5fd57ffb96020102e (patch) | |
| tree | caae5595891ec6a1e0d7d138186032e3d909eb96 /include | |
| parent | 81083076a007d3af3f2216ad9be1374de0687d49 (diff) | |
| parent | 6e97ba552b8d3dd074a28b8600740b8bed42267b (diff) | |
| download | linux-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.h | 2 |
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 */ |
