diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2022-05-31 12:43:45 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-02 02:48:05 +0300 |
commit | 8d3398ba2a0d1e25690f830192b7834acab003ec (patch) | |
tree | a79520fd267739fbe698d76be143bbebecbf678d /include/uapi | |
parent | 86360030cc5117596626bef1d937277cd2bebe05 (diff) | |
download | linux-8d3398ba2a0d1e25690f830192b7834acab003ec.tar.xz |
socket: Don't use u8 type in uapi socket.h
Use plain 255 instead, which also avoid introducing an additional header
dependency on <linux/types.h>
Fixes: 26859240e4ee ("txhash: Add socket option to control TX hash rethink behavior")
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Link: https://lore.kernel.org/r/20220531094345.13801-1-tklauser@distanz.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/socket.h b/include/uapi/linux/socket.h index 51d6bb2f6765..d3fcd3b5ec53 100644 --- a/include/uapi/linux/socket.h +++ b/include/uapi/linux/socket.h @@ -31,7 +31,7 @@ struct __kernel_sockaddr_storage { #define SOCK_BUF_LOCK_MASK (SOCK_SNDBUF_LOCK | SOCK_RCVBUF_LOCK) -#define SOCK_TXREHASH_DEFAULT ((u8)-1) +#define SOCK_TXREHASH_DEFAULT 255 #define SOCK_TXREHASH_DISABLED 0 #define SOCK_TXREHASH_ENABLED 1 |