summaryrefslogtreecommitdiffstats
path: root/package/openswan/linux-2.6.20.4-openswan-2.4.7.kernel-2.6-zzz-void-sock_unregister.patch
blob: 3086aa2bbeff3ae09a12f4c53166f529f99e8a12 (plain)
1
2
3
4
5
6
7
8
9
10
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);