1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 14:29:53 +02:00
openwrt-xburst/package/madwifi/patches/401-changeset_r3602.patch
nbd 436d8ee7e0 madwifi: fix some really evil noderef issues (fixes #3999)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-26 20:09:17 +00:00

12 lines
357 B
Diff

--- a/net80211/ieee80211_linux.h
+++ b/net80211/ieee80211_linux.h
@@ -341,6 +341,8 @@
/* __skb_append got a third parameter in 2.6.14 */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
#define __skb_append(a,b,c) __skb_append(a, b)
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
+#define __skb_append(a,b,c) __skb_queue_after(c, a, b)
#endif
/*