a9e6801869ce81e5545777c678e98b1ec7b45aa9
[openwrt-10.03/.git] / package / openswan / patches / 130-linux_2.6.19_api_changes.patch
1 diff -bruN openswan-2.4.7-old/linux/net/ipsec/pfkey_v2.c openswan-2.4.7-new/linux/net/ipsec/pfkey_v2.c
2 --- openswan-2.4.7-old/linux/net/ipsec/pfkey_v2.c       2006-10-10 22:43:28.000000000 +0200
3 +++ openswan-2.4.7-new/linux/net/ipsec/pfkey_v2.c       2006-12-15 17:29:02.000000000 +0100
4 @@ -1503,7 +1503,7 @@
5         
6          printk(KERN_INFO "klips_info:pfkey_cleanup: "
7                "shutting down PF_KEY domain sockets.\n");
8 -        error |= sock_unregister(PF_KEY);
9 +        sock_unregister(PF_KEY);
10  
11         error |= supported_remove_all(SADB_SATYPE_AH);
12         error |= supported_remove_all(SADB_SATYPE_ESP);