search for: compat_csum_offset

Displaying 2 results from an estimated 2 matches for "compat_csum_offset".

2008 Mar 05
0
[PATCH 2/3] Move COMPAT_csum_offset to kernels < .24 Also add #else for initializing the virtio_net_hdr
...ertions(+), 3 deletions(-) diff --git a/external-module-compat.h b/external-module-compat.h index 75c4fd0..9c93464 100644 --- a/external-module-compat.h +++ b/external-module-compat.h @@ -63,6 +63,8 @@ do { \ } while(0) #define netif_rx_schedule(dev, napi) netif_rx_schedule(dev) +#define COMPAT_csum_offset + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23) #define scsi_cmd_ioctl(filp, rq, gendisk, cmd, data) \ @@ -85,8 +87,6 @@ do { \ #define list_first_entry(ptr, type, member) \ list_entry((ptr)->next, type, member) -#define COMPAT_csum_offset - static inline void * __must_check...
2008 Mar 03
0
[PATCH 1/3] Backward compat to replace napi in *rx_schedule*
...ot;; + 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