SOURCES: acx-skb.patch (NEW) - changes against 2.6.22

zbyniu zbyniu at pld-linux.org
Mon Sep 10 01:55:44 CEST 2007


Author: zbyniu                       Date: Sun Sep  9 23:55:44 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- changes against 2.6.22

---- Files affected:
SOURCES:
   acx-skb.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/acx-skb.patch
diff -u /dev/null SOURCES/acx-skb.patch:1.1
--- /dev/null	Mon Sep 10 01:55:44 2007
+++ SOURCES/acx-skb.patch	Mon Sep 10 01:55:39 2007
@@ -0,0 +1,14 @@
+--- acx-20070101/common.c~	2007-01-10 21:15:27.000000000 +0000
++++ acx-20070101/common.c	2007-09-09 23:46:52.163771282 +0000
+@@ -2754,7 +2754,11 @@ acx_l_rxmonitor(acx_device_t *adev, cons
+ 	skb->dev = adev->ndev;
+ 	skb->dev->last_rx = jiffies;
+ 
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
+ 	skb->mac.raw = skb->data;
++#else
++	skb->mac_header = skb->data;
++#endif
+ 	skb->ip_summed = CHECKSUM_NONE;
+ 	skb->pkt_type = PACKET_OTHERHOST;
+ 	skb->protocol = htons(ETH_P_80211_RAW);
================================================================


More information about the pld-cvs-commit mailing list