History

txhash: Make rethinking txhash behavior configurable via sysctl

Add a per ns sysctl that controls the txhash rethink behavior: net.core.txrehash. When enabled, the same behavior is retained, when disabled, rethink is not performed. Sysctl is enabled by default.

Akhmat Karakotov committed 4 years ago

Commit e1870131 parent 678dfd55 files · +39 −15Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/linux/socket.h+3−0
@@ -31,4 +31,7 @@ struct __kernel_sockaddr_storage { · 30 unmodified lines
31 31
32#define SOCK_BUF_LOCK_MASK (SOCK_SNDBUF_LOCK | SOCK_RCVBUF_LOCK)32#define SOCK_BUF_LOCK_MASK (SOCK_SNDBUF_LOCK | SOCK_RCVBUF_LOCK)
33 33
34#define SOCK_TXREHASH_DISABLED 0
35#define SOCK_TXREHASH_ENABLED 1
36
34#endif /* _UAPI_LINUX_SOCKET_H */37#endif /* _UAPI_LINUX_SOCKET_H */