39c9ee10d8
OpenWRT's bulid process currently uses Openswan v2.6.33, which does not build against the 2.6.39 kernel. This patch updates the OpenWRT build process to build Openswan v2.6.34, released 2011-06-08. hauke: * use Openswan v2.6.35 Signed-off-by: Stephen Oberholtzer <oliverklozoff@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/packages@27922 3c298f89-4303-0410-b956-a3cf2f4a3e73
20 lines
438 B
Diff
20 lines
438 B
Diff
---
|
|
linux/include/openswan/ipsec_kversion.h | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
--- a/linux/include/openswan/ipsec_kversion.h
|
|
+++ b/linux/include/openswan/ipsec_kversion.h
|
|
@@ -393,6 +393,12 @@
|
|
# endif
|
|
#endif
|
|
|
|
+#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,30)
|
|
+# ifndef CONFIG_COMPAT_NET_DEV_OPS
|
|
+# define USE_NETDEV_OPS
|
|
+# endif
|
|
+#endif
|
|
+
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
|
|
# define USE_NETDEV_OPS
|
|
#else
|