sync kmod-switch with whiterussian
[openwrt.git] / openwrt / target / linux / package / openswan / patches / fix-oops-on-24.patch
1 diff -Nur openswan-2.4.4/linux/net/ipsec/pfkey_v2.c openswan-2.4.4.patched/linux/net/ipsec/pfkey_v2.c
2 --- openswan-2.4.4/linux/net/ipsec/pfkey_v2.c 2005-09-14 18:40:45.000000000 +0200
3 +++ openswan-2.4.4.patched/linux/net/ipsec/pfkey_v2.c 2005-12-25 04:35:57.674968000 +0100
4 @@ -820,7 +820,9 @@
5 return 0; /* -EINVAL; */
6 }
7
8 +#ifdef NET_26
9 write_lock_bh(&pfkey_sock_lock);
10 +#endif
11
12 KLIPS_PRINT(debug_pfkey,
13 "klips_debug:pfkey_release: "
14 @@ -851,7 +853,9 @@
15 "klips_debug:pfkey_release: "
16 "succeeded.\n");
17
18 +#ifdef NET_26
19 write_unlock_bh(&pfkey_sock_lock);
20 +#endif
21
22 return 0;
23 }
This page took 0.043235 seconds and 5 git commands to generate.