summaryrefslogtreecommitdiff
path: root/package/openswan/linux-2.6.20.4-openswan-2.4.7.kernel-2.6-zzz-void-sock_unregister.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-03-24 12:46:46 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-03-24 12:46:46 +0000
commite84104dbdfa620e3b4ccf7a29c69de3514e976b8 (patch)
tree050f3f2573ee8b0d17e30c341423612c254a4eff /package/openswan/linux-2.6.20.4-openswan-2.4.7.kernel-2.6-zzz-void-sock_unregister.patch
parent829f498f7de640eac13ed4fa3cecb92bc1816610 (diff)
- fwd port
Diffstat (limited to 'package/openswan/linux-2.6.20.4-openswan-2.4.7.kernel-2.6-zzz-void-sock_unregister.patch')
-rw-r--r--package/openswan/linux-2.6.20.4-openswan-2.4.7.kernel-2.6-zzz-void-sock_unregister.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/openswan/linux-2.6.20.4-openswan-2.4.7.kernel-2.6-zzz-void-sock_unregister.patch b/package/openswan/linux-2.6.20.4-openswan-2.4.7.kernel-2.6-zzz-void-sock_unregister.patch
new file mode 100644
index 000000000..3086aa2bb
--- /dev/null
+++ b/package/openswan/linux-2.6.20.4-openswan-2.4.7.kernel-2.6-zzz-void-sock_unregister.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.20.oorig/net/ipsec/pfkey_v2.c 2007-02-15 12:30:41.000000000 +0100
++++ linux-2.6.20/net/ipsec/pfkey_v2.c 2007-02-15 13:37:22.000000000 +0100
+@@ -1503,7 +1503,7 @@ pfkey_cleanup(void)
+
+ 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);