1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-23 22:59:55 +02:00
openwrt-xburst/target/linux/package/openswan/patches/fix-compile-pfkey.patch
wbx fb89cd24b7 update openswan to 2.40
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-29 12:40:16 +00:00

14 lines
446 B
Diff

diff -Nur openswan-2.4.0.orig/linux/net/ipsec/pfkey_v2.c openswan-2.4.0/linux/net/ipsec/pfkey_v2.c
--- openswan-2.4.0.orig/linux/net/ipsec/pfkey_v2.c 2005-09-06 04:10:03.000000000 +0200
+++ openswan-2.4.0/linux/net/ipsec/pfkey_v2.c 2005-09-21 09:32:49.214628750 +0200
@@ -821,7 +821,9 @@
return 0; /* -EINVAL; */
}
+#ifdef NET_26
write_lock_bh(&pfkey_sock_lock);
+#endif
KLIPS_PRINT(debug_pfkey,
"klips_debug:pfkey_release: "