diff options
| author | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
| commit | b74b953b998bcc2db91b694446f3a2619ec32de6 (patch) | |
| tree | 6ce24caabd730f6ae9287ed0676ec32e6ff31e9d /net/ipv4/udplite.c | |
| parent | abb438526201c6a79949ad45375c051b6681c253 (diff) | |
| parent | f6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff) | |
Merge commit 'v2.6.36' into kbuild/misc
Update to be able to fix a recent change to scripts/basic/docproc.c
(commit eda603f).
Diffstat (limited to 'net/ipv4/udplite.c')
| -rw-r--r-- | net/ipv4/udplite.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c index 66f79513f4a5..ab76aa928fa9 100644 --- a/net/ipv4/udplite.c +++ b/net/ipv4/udplite.c | |||
| @@ -58,6 +58,7 @@ struct proto udplite_prot = { | |||
| 58 | .compat_getsockopt = compat_udp_getsockopt, | 58 | .compat_getsockopt = compat_udp_getsockopt, |
| 59 | #endif | 59 | #endif |
| 60 | }; | 60 | }; |
| 61 | EXPORT_SYMBOL(udplite_prot); | ||
| 61 | 62 | ||
| 62 | static struct inet_protosw udplite4_protosw = { | 63 | static struct inet_protosw udplite4_protosw = { |
| 63 | .type = SOCK_DGRAM, | 64 | .type = SOCK_DGRAM, |
| @@ -81,12 +82,12 @@ static struct udp_seq_afinfo udplite4_seq_afinfo = { | |||
| 81 | }, | 82 | }, |
| 82 | }; | 83 | }; |
| 83 | 84 | ||
| 84 | static int udplite4_proc_init_net(struct net *net) | 85 | static int __net_init udplite4_proc_init_net(struct net *net) |
| 85 | { | 86 | { |
| 86 | return udp_proc_register(net, &udplite4_seq_afinfo); | 87 | return udp_proc_register(net, &udplite4_seq_afinfo); |
| 87 | } | 88 | } |
| 88 | 89 | ||
| 89 | static void udplite4_proc_exit_net(struct net *net) | 90 | static void __net_exit udplite4_proc_exit_net(struct net *net) |
| 90 | { | 91 | { |
| 91 | udp_proc_unregister(net, &udplite4_seq_afinfo); | 92 | udp_proc_unregister(net, &udplite4_seq_afinfo); |
| 92 | } | 93 | } |
| @@ -127,5 +128,3 @@ out_unregister_proto: | |||
| 127 | out_register_err: | 128 | out_register_err: |
| 128 | printk(KERN_CRIT "%s: Cannot add UDP-Lite protocol.\n", __func__); | 129 | printk(KERN_CRIT "%s: Cannot add UDP-Lite protocol.\n", __func__); |
| 129 | } | 130 | } |
| 130 | |||
| 131 | EXPORT_SYMBOL(udplite_prot); | ||
