From ecb2ec538f9faaa4641474ebe5a48ac4512c9dc8 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Fri, 5 Feb 2010 00:22:26 +0000 Subject: [PATCH] Fix openswan kernel module build for 2.6.32 SVN-Revision: 19528 --- net/openswan/patches/150-2.6.32.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/openswan/patches/150-2.6.32.patch diff --git a/net/openswan/patches/150-2.6.32.patch b/net/openswan/patches/150-2.6.32.patch new file mode 100644 index 000000000..2fbc2ec78 --- /dev/null +++ b/net/openswan/patches/150-2.6.32.patch @@ -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 -- 2.30.2