blob: 0861b0489ec94f1563edff273c55fbec566ed44f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff -Nur openswan-2.4.4/linux/net/ipsec/pfkey_v2.c openswan-2.4.4.patched/linux/net/ipsec/pfkey_v2.c
--- openswan-2.4.4/linux/net/ipsec/pfkey_v2.c 2005-09-14 18:40:45.000000000 +0200
+++ openswan-2.4.4.patched/linux/net/ipsec/pfkey_v2.c 2005-12-25 04:35:57.674968000 +0100
@@ -820,7 +820,9 @@
return 0; /* -EINVAL; */
}
+#ifdef NET_26
write_lock_bh(&pfkey_sock_lock);
+#endif
KLIPS_PRINT(debug_pfkey,
"klips_debug:pfkey_release: "
@@ -851,7 +853,9 @@
"klips_debug:pfkey_release: "
"succeeded.\n");
+#ifdef NET_26
write_unlock_bh(&pfkey_sock_lock);
+#endif
return 0;
}
|