Skip to content

Commit 8d3398b

Browse files
tklauserkuba-moo
authored andcommitted
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: 2685924 ("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>
1 parent 8636003 commit 8d3398b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/uapi/linux/socket.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct __kernel_sockaddr_storage {
3131

3232
#define SOCK_BUF_LOCK_MASK (SOCK_SNDBUF_LOCK | SOCK_RCVBUF_LOCK)
3333

34-
#define SOCK_TXREHASH_DEFAULT ((u8)-1)
34+
#define SOCK_TXREHASH_DEFAULT 255
3535
#define SOCK_TXREHASH_DISABLED 0
3636
#define SOCK_TXREHASH_ENABLED 1
3737

0 commit comments

Comments
 (0)