[PATCH 45/74] backport: add gso.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Gregory Greenman <gregory.greenman@xxxxxxxxx>

In v6.5 gso declartions were moved into their own file.
The commit is d457a0e329b0 ("net: move gso declarations and functions to their own files")

Include the correct file depending on the kernel version.

Signed-off-by: Gregory Greenman <gregory.greenman@xxxxxxxxx>
Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
 backport/backport-include/net/gso.h | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 backport/backport-include/net/gso.h

diff --git a/backport/backport-include/net/gso.h b/backport/backport-include/net/gso.h
new file mode 100644
index 000000000000..f9ad9fc888b2
--- /dev/null
+++ b/backport/backport-include/net/gso.h
@@ -0,0 +1,9 @@
+#ifndef __BACKPORT_GSO_H
+#define __BACKPORT_GSO_H
+#include_next <net/gso.h>
+#include <linux/netdevice.h>
+#endif /* < 6.5.0 */
+#endif /* __BACKPORT_GSO_H */

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux