[packages] openswan: update to 2.6.28 (closes: #7544, #7725, #7782)
[openwrt/svn-archive/archive.git] / net / openswan / patches / 130-compat_net_dev_ops.patch
index 97cb853b03592bafff6388c91f2486011fa78da9..e87b955dfcd5754cae5450f3db0025285a62b51b 100644 (file)
@@ -1,7 +1,7 @@
 --- a/linux/include/openswan/ipsec_kversion.h
 +++ b/linux/include/openswan/ipsec_kversion.h
-@@ -351,6 +351,12 @@
- # define HAVE_CURRENT_UID
+@@ -363,6 +363,12 @@
+ #endif
  #endif
  
 +#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,30)
@@ -11,5 +11,5 @@
 +#endif
 +
  #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
- # define HAVE_SKB_DST 1
- #endif
+ # define USE_NETDEV_OPS
+ #else