Skip to contentSkip to conversation

drivers/net/ipv4: Fix build for kernel 6.3+

PATCH New Jan Kiszka 1 participant 1 message Apr 16, 2023

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 drivers/net/ipv4: Fix build for kernel 6.3+

From: Jan Kiszka <[email protected]>

linux/bitops.h is now explicitly needed when including net/checksum.h.

---
 kernel/drivers/net/stack/ipv4/ip_input.c | 1 +
 1 file changed, 1 insertion(+)
kernel/drivers/net/stack/ipv4/ip_input.c +1 -0
index 4495b8d2d1..6941e73ed3 100644
@@ -21,6 +21,7 @@
  *
  */
 
+#include <linux/bitops.h>
 #include <net/checksum.h>
 #include <net/ip.h>
 
Signature · 1 line
2.35.3