search for: 41ba60d

Displaying 2 results from an estimated 2 matches for "41ba60d".

Did you mean: 41b620d
2008 Mar 05
0
[PATCH 2/3] Move COMPAT_csum_offset to kernels < .24 Also add #else for initializing the virtio_net_hdr
...6 @@ do { \ #define list_first_entry(ptr, type, member) \ list_entry((ptr)->next, type, member) -#define COMPAT_csum_offset - static inline void * __must_check krealloc(const void *data, size_t size, gfp_t gfp) { diff --git a/hack-module.awk b/hack-module.awk index bd63fb9..41ba60d 100644 --- a/hack-module.awk +++ b/hack-module.awk @@ -106,7 +106,10 @@ } /ip_summed == CHECKSUM_PARTIAL\)/ { - print "#ifndef COMPAT_csum_offset"; + print "#ifdef COMPAT_csum_offset"; + print "\thdr->flags = 0;" + print "\thdr->csum_offset =...
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.
....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"; + print "BUG();"; + print "#else"; + need_endif = 1; +} + { sub(/\&l...