Displaying 1 result from an estimated 1 matches for "compat_transport_head".
Did you mean:
compat_transport_header
2008 Mar 05
0
[PATCH 3/3] Backport skb_transport_header as a BUG.. Since kvm host side does not support GSO anyway the simplest/fastest thing is to backport the relative new skb_transport_header as BUG.
...tions(+), 0 deletions(-)
diff --git a/external-module-compat.h b/external-module-compat.h
index 9c93464..ff2f4ca 100644
--- a/external-module-compat.h
+++ b/external-module-compat.h
@@ -79,6 +79,7 @@ do { \
#define COMPAT_INIT_WORK
#define COMPAT_f_dentry
#define COMPAT_net_stats
+#define COMPAT_transport_header
#define __maybe_unused
diff --git a/hack-module.awk b/hack-module.awk
index 41ba60d..9e7ef0e 100644
--- a/hack-module.awk
+++ b/hack-module.awk
@@ -113,6 +113,13 @@
need_endif_indent_brace = 1;
}
+/skb_transport_header/ {
+ print "#ifdef COMPAT_transport_header";
+ pr...