Skip to contentSkip to conversation

net: include <linux/hex.h> from sysctl_net_core.c

PATCH Applied Eric Dumazet 2 participants 2 messages Jan 26 – Jan 27

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 net/core/sysctl_net_core.c | 1 +
 1 file changed, 1 insertion(+)
net/core/sysctl_net_core.c +1 -0
index 0f761d4b9447..03aea10073f0 100644
@@ -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>
Signature · 1 line
2.52.0.457.g6b5491de43-goog
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 10 lines · On Mon, 26 Jan 2026 17:47:31 +0000 you wrote:

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")

[...]

Here is the summary with links:
- [net-next] net: include <linux/hex.h> from sysctl_net_core.c

    https://git.kernel.org/netdev/net-next/c/3da35aa8af34

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html