]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: include <linux/hex.h> from sysctl_net_core.c
authorEric Dumazet <edumazet@google.com>
Mon, 26 Jan 2026 17:47:31 +0000 (17:47 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Jan 2026 00:35:53 +0000 (16:35 -0800)
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>
net/core/sysctl_net_core.c

index 0f761d4b94471a5f8bbe0810922cf59e009be99d..03aea10073f003b0339884ee0f40b8c96d7d22e2 100644 (file)
@@ -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>