git: a8420c2c1d08 - stable/15 - LinuxKPI: add #include of rculist.h to ethtool.h for Linux conformance

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Sat, 19 Sep 2026 14:40:23 UTC
The branch stable/15 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=a8420c2c1d08379685465124d9737e1b5c5ed05d

commit a8420c2c1d08379685465124d9737e1b5c5ed05d
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-08-12 14:01:19 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-09-19 09:34:09 +0000

    LinuxKPI: add #include of rculist.h to ethtool.h for Linux conformance
    
    Add #include rculist.h to ethtool.h to fullfill expectations of
    Linux drivers without having to modify them.
    
    Reviewed by:    dumbbell, emaste
    Differential Revision: https://reviews.freebsd.org/D58874
    
    (cherry picked from commit 4570a1bf760a3cd63eb7dd9e3ebbc3cf103bda4d)
---
 sys/compat/linuxkpi/common/include/linux/ethtool.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/compat/linuxkpi/common/include/linux/ethtool.h b/sys/compat/linuxkpi/common/include/linux/ethtool.h
index f5567cd7ea40..de1501495a86 100644
--- a/sys/compat/linuxkpi/common/include/linux/ethtool.h
+++ b/sys/compat/linuxkpi/common/include/linux/ethtool.h
@@ -1,7 +1,7 @@
 /*-
  * SPDX-License-Identifier: BSD-2-Clause
  *
- * Copyright (c) 2022 Bjoern A. Zeeb
+ * Copyright (c) 2022-2026 Bjoern A. Zeeb
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -29,6 +29,7 @@
 #define	_LINUXKPI_LINUX_ETHTOOL_H_
 
 #include <linux/types.h>
+#include <linux/rculist.h>
 
 #define	ETH_GSTRING_LEN	(2 * IF_NAMESIZE)	/* Increase if not large enough */