diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-12-15 16:56:08 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-12-15 16:56:08 +0000 |
commit | 8645031ea00f7c2bb702b3fb88b73643ca8240cb (patch) | |
tree | 192b034e629bdddea03b7f2b443441def9864d59 /package/openswan/patches/130-linux_2.6.19_api_changes.patch | |
parent | c2a34bbef87ce1ada2849839b914d7a85d1aaead (diff) | |
download | upstream-8645031ea00f7c2bb702b3fb88b73643ca8240cb.tar.gz upstream-8645031ea00f7c2bb702b3fb88b73643ca8240cb.tar.bz2 upstream-8645031ea00f7c2bb702b3fb88b73643ca8240cb.zip |
update openswan to 2.4.7, fix 2.6.19 build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5801 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/openswan/patches/130-linux_2.6.19_api_changes.patch')
-rw-r--r-- | package/openswan/patches/130-linux_2.6.19_api_changes.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/openswan/patches/130-linux_2.6.19_api_changes.patch b/package/openswan/patches/130-linux_2.6.19_api_changes.patch new file mode 100644 index 0000000000..a9e6801869 --- /dev/null +++ b/package/openswan/patches/130-linux_2.6.19_api_changes.patch @@ -0,0 +1,12 @@ +diff -bruN openswan-2.4.7-old/linux/net/ipsec/pfkey_v2.c openswan-2.4.7-new/linux/net/ipsec/pfkey_v2.c +--- openswan-2.4.7-old/linux/net/ipsec/pfkey_v2.c 2006-10-10 22:43:28.000000000 +0200 ++++ openswan-2.4.7-new/linux/net/ipsec/pfkey_v2.c 2006-12-15 17:29:02.000000000 +0100 +@@ -1503,7 +1503,7 @@ + + printk(KERN_INFO "klips_info:pfkey_cleanup: " + "shutting down PF_KEY domain sockets.\n"); +- error |= sock_unregister(PF_KEY); ++ sock_unregister(PF_KEY); + + error |= supported_remove_all(SADB_SATYPE_AH); + error |= supported_remove_all(SADB_SATYPE_ESP); |