[packages] Fix openswan kernel module build for 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19528 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5f12dc696f
commit
f620c3c24d
13
net/openswan/patches/150-2.6.32.patch
Normal file
13
net/openswan/patches/150-2.6.32.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/linux/include/openswan/ipsec_kversion.h b/linux/include/openswan/ipsec_kversion.h
|
||||||
|
index 8ebf99a..27fe871 100644
|
||||||
|
--- a/linux/include/openswan/ipsec_kversion.h
|
||||||
|
+++ b/linux/include/openswan/ipsec_kversion.h
|
||||||
|
@@ -332,7 +332,7 @@
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#ifndef NETDEV_TX_BUSY
|
||||||
|
+#if !defined(NETDEV_TX_BUSY) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
|
||||||
|
# ifdef NETDEV_XMIT_CN
|
||||||
|
# define NETDEV_TX_BUSY NETDEV_XMIT_CN
|
||||||
|
# else
|
Loading…
x
Reference in New Issue
Block a user