Package multipath kernel modules from #1608
[openwrt.git] / package / openswan / patches / 200-linux_pfkey_2.4.patch
1 diff -urN openswan-2.4.7.old/linux/net/ipsec/pfkey_v2.c openswan-2.4.7/linux/net/ipsec/pfkey_v2.c
2 --- openswan-2.4.7.old/linux/net/ipsec/pfkey_v2.c 2007-01-03 11:11:04.645909731 +0000
3 +++ openswan-2.4.7/linux/net/ipsec/pfkey_v2.c 2007-01-03 11:14:54.482143945 +0000
4 @@ -119,7 +119,9 @@
5 #ifdef NETDEV_23
6 .family = PF_KEY,
7 .create = pfkey_create,
8 +#ifdef NET_26
9 .owner = THIS_MODULE,
10 +#endif
11 #else
12 PF_KEY,
13 pfkey_create
14 @@ -129,7 +131,9 @@
15 struct proto_ops SOCKOPS_WRAPPED(pfkey_ops) = {
16 #ifdef NETDEV_23
17 family: PF_KEY,
18 +#ifdef NET_26
19 owner: THIS_MODULE,
20 +#endif
21 release: pfkey_release,
22 bind: sock_no_bind,
23 connect: sock_no_connect,
24 @@ -1559,6 +1563,9 @@
25
26 /*
27 * $Log: pfkey_v2.c,v $
28 + * Revision 1.97.2.11 2006/11/15 16:05:57 paul
29 + * fix for compiling on 2.4. kernels by Matthias Haas.
30 + *
31 * Revision 1.97.2.10 2006/10/10 20:43:28 paul
32 * Add family/create/owner for pfkey_family_ops. This fixes bug #671
33 *
This page took 0.060134 seconds and 5 git commands to generate.