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.
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -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 */ |