ti recipes: Start moving /files into package specific directories
[openembedded.git] / recipes / linux / linux-omap-psp-2.6.32 / sctp-fix.patch
blobfad8e1b67b7f3cfdf7f25ddd3804eb1c5a114185
1 From patchwork Tue Dec 8 19:52:09 2009
2 Content-Type: text/plain; charset="utf-8"
3 MIME-Version: 1.0
4 Content-Transfer-Encoding: 7bit
5 Subject: net/sctp/sysctl.c: Remove dead strategy handler
6 Date: Tue, 08 Dec 2009 19:52:09 -0000
7 From: Ingo Molnar <mingo@elte.hu>
8 X-Patchwork-Id: 65744
10 * Ingo Molnar <mingo@elte.hu> wrote:
12 > hi Dave,
14 > i just switched to today's -git tree and there's this new build failure
15 > on x86:
17 > net/sctp/sysctl.c:251: error: unknown field 'strategy' specified in initializer
18 > net/sctp/sysctl.c:251: error: 'sysctl_intvec' undeclared here (not in a function)
20 > havent looked into it yet - config attached.
22 That's interaction with the strategy handler removal from Eric. I think
23 the patch below will do the trick - the callsites have been updated
24 already to use proc_handler, so ->handler was a dead field.
26 Ingo
28 Signed-off-by: Ingo Molnar <mingo@elte.hu>
30 ---
31 To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
32 the body of a message to majordomo@vger.kernel.org
33 More majordomo info at http://vger.kernel.org/majordomo-info.html
34 Please read the FAQ at http://www.tux.org/lkml/
36 diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c
37 index 419e1e9..832590b 100644
38 --- a/net/sctp/sysctl.c
39 +++ b/net/sctp/sysctl.c
40 @@ -248,7 +248,6 @@ static ctl_table sctp_table[] = {
41 .maxlen = sizeof(int),
42 .mode = 0644,
43 .proc_handler = &proc_dointvec_minmax,
44 - .strategy = &sysctl_intvec,
45 .extra1 = &one,
46 .extra2 = &rwnd_scale_max,