Displaying 2 results from an estimated 2 matches for "compat_net_stat".
Did you mean:
compat_net_stats
2008 Mar 03
0
[PATCH 1/3] Backward compat to replace napi in *rx_schedule*
...t;dev)) {";
+ print "#else";
+ need_endif = 1
+}
+
+/__netif_rx_schedule/ {
+ print "#ifdef COMPAT_napi";
+ print "\t\t__netif_rx_schedule(vi->dev);";
+ print "#else";
+ need_endif = 1
+}
+
/dev->stats/ {
print "#ifndef COMPAT_net_stats";
need_endif = 1
--
1.5.4.1
--=-GX8nzkmESIKGfVphMk3E
Content-Disposition: attachment; filename=0002-Move-COMPAT_csum_offset-to-kernels-.24-Also-add-e.patch
Content-Type: application/mbox; name=0002-Move-COMPAT_csum_offset-to-kernels-.24-Also-add-e.patch
Content-Transfer-Encoding: 7bit
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.
...2 files changed, 8 insertions(+), 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...