Displaying 1 result from an estimated 1 matches for "9e7ef0e".
Did you mean:
0e7efce
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.
...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";
+ print "BUG();";
+ print "#else";
+ need_endif = 1;
+}
+
{ sub(/\<pci_dev...