1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-13 04:29:17 +03:00
openwrt-xburst/package/openswan/patches/130-linux_2.6.19_api_changes.patch
nico 839f09df77 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
2006-12-15 16:56:08 +00:00

13 lines
585 B
Diff

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);