From: proski Date: Mon, 5 May 2008 01:41:23 +0000 (+0000) Subject: Provide __skb_append() replacement for Linux 2.6.26 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=32df5a67ce9439166189f47875374789325aff00;p=madwifi%2F.git Provide __skb_append() replacement for Linux 2.6.26 __skb_append() will be removed in Linux 2.6.26. __skb_queue_after() should be used instead. Use the new interface on Linux 2.6.25 and newer. git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3602 0192ed92-7a03-0410-a25b-9323aeb14dbd --- diff --git a/net80211/ieee80211_linux.h b/net80211/ieee80211_linux.h index f6e3498..1b3cb89 100644 --- a/net80211/ieee80211_linux.h +++ b/net80211/ieee80211_linux.h @@ -318,6 +318,8 @@ typedef spinlock_t acl_lock_t; /* __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 /*