mirror of
https://github.com/proski/madwifi
synced 2024-11-22 06:21:47 +03:00
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
This commit is contained in:
parent
658d470ad5
commit
32df5a67ce
@ -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
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user