summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-01-26 20:47:31 +0300
committerJakub Kicinski <kuba@kernel.org>2026-01-27 03:35:53 +0300
commit3da35aa8af345abf6cd180cfc0538c753b927a18 (patch)
tree7b421f3b8a7ca990a15fc98e7f9142e61222da09
parentbf2e36c9dab95e41516fbcf7b1cc804539b2d021 (diff)
downloadlinux-3da35aa8af345abf6cd180cfc0538c753b927a18.tar.xz
net: include <linux/hex.h> from sysctl_net_core.c
Needed for hex_byte_pack(). x86_64 was already including it, but some arches were not. Fixes: 37b0ea8fef56 ("net: expand NETDEV_RSS_KEY_LEN to 256 bytes") Reported-by: Mark Brown <broonie@kernel.org> Closes: https://lore.kernel.org/netdev/aXeka0KYBnrkwUcF@sirena.org.uk/ Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20260126174731.2767372-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--net/core/sysctl_net_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index 0f761d4b9447..03aea10073f0 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -17,6 +17,7 @@
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/sched/isolation.h>
+#include <linux/hex.h>
#include <net/ip.h>
#include <net/sock.h>