summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.17/eglibc-2.17-PR15003-r22243.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.17/eglibc-2.17-PR15003-r22243.patch')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.17/eglibc-2.17-PR15003-r22243.patch207
1 files changed, 207 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.17/eglibc-2.17-PR15003-r22243.patch b/meta/recipes-core/eglibc/eglibc-2.17/eglibc-2.17-PR15003-r22243.patch
new file mode 100644
index 0000000000..a69302bb7d
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.17/eglibc-2.17-PR15003-r22243.patch
@@ -0,0 +1,207 @@
1Index: libc/NEWS
2===================================================================
3--- libc/NEWS (revision 22242)
4+++ libc/NEWS (revision 22243)
5@@ -23,7 +23,7 @@
6 14767, 14783, 14784, 14785, 14793, 14796, 14797, 14801, 14803, 14805,
7 14807, 14811, 14815, 14821, 14822, 14824, 14828, 14831, 14833, 14835,
8 14838, 14856, 14863, 14865, 14866, 14868, 14869, 14871, 14872, 14879,
9- 14889, 14893, 14898, 14914.
10+ 14889, 14893, 14898, 14914, 15003.
11
12 * Optimization of memcpy for MIPS.
13
14Index: libc/ChangeLog
15===================================================================
16--- libc/ChangeLog (revision 22242)
17+++ libc/ChangeLog (revision 22243)
18@@ -1,3 +1,29 @@
19+2013-01-11 Andreas Jaeger <aj@suse.de>
20+
21+ [BZ #15003]
22+ * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23+ value. Sync with Linux 3.7.
24+
25+2013-01-09 David S. Miller <davem@davemloft.net>
26+
27+ [BZ# 15003]
28+ * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
29+ TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
30+ TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
31+ TCP_FASTOPEN): Define.
32+ (tcp_repair_opt): New structure.
33+ (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34+ enum values.
35+ (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
36+ TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
37+ TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38+ (tcp_cookie_transactions): New structure.
39+
40+2013-01-09 Andreas Jaeger <aj@suse.de>
41+
42+ * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43+ (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
44+
45 2013-01-01 David S. Miller <davem@davemloft.net>
46
47 * po/fr.po: Update from translation team.
48Index: libc/sysdeps/unix/sysv/linux/bits/socket.h
49===================================================================
50--- libc/sysdeps/unix/sysv/linux/bits/socket.h (revision 22242)
51+++ libc/sysdeps/unix/sysv/linux/bits/socket.h (revision 22243)
52@@ -1,6 +1,5 @@
53 /* System-specific socket constants and types. Linux version.
54- Copyright (C) 1991, 1992, 1994-2001, 2004, 2006-2010, 2011, 2012
55- Free Software Foundation, Inc.
56+ Copyright (C) 1991-2013 Free Software Foundation, Inc.
57 This file is part of the GNU C Library.
58
59 The GNU C Library is free software; you can redistribute it and/or
60@@ -208,6 +207,8 @@
61 #define MSG_MORE MSG_MORE
62 MSG_WAITFORONE = 0x10000, /* Wait for at least one packet to return.*/
63 #define MSG_WAITFORONE MSG_WAITFORONE
64+ MSG_FASTOPEN = 0x20000000, /* Send data in TCP SYN. */
65+#define MSG_FASTOPEN MSG_FASTOPEN
66
67 MSG_CMSG_CLOEXEC = 0x40000000 /* Set close_on_exit for file
68 descriptor received through
69Index: libc/sysdeps/gnu/netinet/tcp.h
70===================================================================
71--- libc/sysdeps/gnu/netinet/tcp.h (revision 22242)
72+++ libc/sysdeps/gnu/netinet/tcp.h (revision 22243)
73@@ -37,20 +37,29 @@
74 /*
75 * User-settable options (used with setsockopt).
76 */
77-#define TCP_NODELAY 1 /* Don't delay send to coalesce packets */
78-#define TCP_MAXSEG 2 /* Set maximum segment size */
79-#define TCP_CORK 3 /* Control sending of partial frames */
80-#define TCP_KEEPIDLE 4 /* Start keeplives after this period */
81-#define TCP_KEEPINTVL 5 /* Interval between keepalives */
82-#define TCP_KEEPCNT 6 /* Number of keepalives before death */
83-#define TCP_SYNCNT 7 /* Number of SYN retransmits */
84-#define TCP_LINGER2 8 /* Life time of orphaned FIN-WAIT-2 state */
85-#define TCP_DEFER_ACCEPT 9 /* Wake up listener only when data arrive */
86-#define TCP_WINDOW_CLAMP 10 /* Bound advertised window */
87-#define TCP_INFO 11 /* Information about this connection. */
88-#define TCP_QUICKACK 12 /* Bock/reenable quick ACKs. */
89-#define TCP_CONGESTION 13 /* Congestion control algorithm. */
90-#define TCP_MD5SIG 14 /* TCP MD5 Signature (RFC2385) */
91+#define TCP_NODELAY 1 /* Don't delay send to coalesce packets */
92+#define TCP_MAXSEG 2 /* Set maximum segment size */
93+#define TCP_CORK 3 /* Control sending of partial frames */
94+#define TCP_KEEPIDLE 4 /* Start keeplives after this period */
95+#define TCP_KEEPINTVL 5 /* Interval between keepalives */
96+#define TCP_KEEPCNT 6 /* Number of keepalives before death */
97+#define TCP_SYNCNT 7 /* Number of SYN retransmits */
98+#define TCP_LINGER2 8 /* Life time of orphaned FIN-WAIT-2 state */
99+#define TCP_DEFER_ACCEPT 9 /* Wake up listener only when data arrive */
100+#define TCP_WINDOW_CLAMP 10 /* Bound advertised window */
101+#define TCP_INFO 11 /* Information about this connection. */
102+#define TCP_QUICKACK 12 /* Bock/reenable quick ACKs. */
103+#define TCP_CONGESTION 13 /* Congestion control algorithm. */
104+#define TCP_MD5SIG 14 /* TCP MD5 Signature (RFC2385) */
105+#define TCP_COOKIE_TRANSACTIONS 15 /* TCP Cookie Transactions */
106+#define TCP_THIN_LINEAR_TIMEOUTS 16 /* Use linear timeouts for thin streams*/
107+#define TCP_THIN_DUPACK 17 /* Fast retrans. after 1 dupack */
108+#define TCP_USER_TIMEOUT 18 /* How long for loss retry before timeout */
109+#define TCP_REPAIR 19 /* TCP sock is under repair right now */
110+#define TCP_REPAIR_QUEUE 20 /* Set TCP queue to repair */
111+#define TCP_QUEUE_SEQ 21 /* Set sequence number of repaired queue. */
112+#define TCP_REPAIR_OPTIONS 22 /* Repair TCP connection options */
113+#define TCP_FASTOPEN 23 /* Enable FastOpen on listeners */
114
115 #ifdef __USE_MISC
116 # include <sys/types.h>
117@@ -173,7 +182,9 @@
118 # define TCPI_OPT_TIMESTAMPS 1
119 # define TCPI_OPT_SACK 2
120 # define TCPI_OPT_WSCALE 4
121-# define TCPI_OPT_ECN 8
122+# define TCPI_OPT_ECN 8 /* ECN was negociated at TCP session init */
123+# define TCPI_OPT_ECN_SEEN 16 /* we received at least one packet with ECT */
124+# define TCPI_OPT_SYN_DATA 32 /* SYN-ACK acked data in SYN sent or rcvd */
125
126 /* Values for tcpi_state. */
127 enum tcp_ca_state
128@@ -241,6 +252,49 @@
129 u_int8_t tcpm_key[TCP_MD5SIG_MAXKEYLEN]; /* Key (binary). */
130 };
131
132+/* For socket repair options. */
133+struct tcp_repair_opt
134+{
135+ u_int32_t opt_code;
136+ u_int32_t opt_val;
137+};
138+
139+/* Queue to repair, for TCP_REPAIR_QUEUE. */
140+enum
141+{
142+ TCP_NO_QUEUE,
143+ TCP_RECV_QUEUE,
144+ TCP_SEND_QUEUE,
145+ TCP_QUEUES_NR,
146+};
147+
148+/* For cookie transactions socket options. */
149+#define TCP_COOKIE_MIN 8 /* 64-bits */
150+#define TCP_COOKIE_MAX 16 /* 128-bits */
151+#define TCP_COOKIE_PAIR_SIZE (2*TCP_COOKIE_MAX)
152+
153+/* Flags for both getsockopt and setsockopt */
154+#define TCP_COOKIE_IN_ALWAYS (1 << 0) /* Discard SYN without cookie */
155+#define TCP_COOKIE_OUT_NEVER (1 << 1) /* Prohibit outgoing cookies,
156+ * supercedes everything. */
157+
158+/* Flags for getsockopt */
159+#define TCP_S_DATA_IN (1 << 2) /* Was data received? */
160+#define TCP_S_DATA_OUT (1 << 3) /* Was data sent? */
161+
162+#define TCP_MSS_DEFAULT 536U /* IPv4 (RFC1122, RFC2581) */
163+#define TCP_MSS_DESIRED 1220U /* IPv6 (tunneled), EDNS0 (RFC3226) */
164+
165+struct tcp_cookie_transactions
166+{
167+ u_int16_t tcpct_flags;
168+ u_int8_t __tcpct_pad1;
169+ u_int8_t tcpct_cookie_desired;
170+ u_int16_t tcpct_s_data_desired;
171+ u_int16_t tcpct_used;
172+ u_int8_t tcpct_value[TCP_MSS_DEFAULT];
173+};
174+
175 #endif /* Misc. */
176
177 #endif /* netinet/tcp.h */
178
179Property changes on: libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/single/nptl/c++-types.data
180___________________________________________________________________
181Modified: svn:mergeinfo
182 Merged /fsf/glibc-2_17-branch/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/single/nptl/c++-types.data:r22178-22242
183
184
185Property changes on: libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/single/nptl/localplt.data
186___________________________________________________________________
187Modified: svn:mergeinfo
188 Merged /fsf/glibc-2_17-branch/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/single/nptl/localplt.data:r22178-22242
189
190
191Property changes on: libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nptl/c++-types.data
192___________________________________________________________________
193Modified: svn:mergeinfo
194 Merged /fsf/glibc-2_17-branch/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nptl/c++-types.data:r22178-22242
195
196
197Property changes on: libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nptl/localplt.data
198___________________________________________________________________
199Modified: svn:mergeinfo
200 Merged /fsf/glibc-2_17-branch/libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nptl/localplt.data:r22178-22242
201
202
203Property changes on: .
204___________________________________________________________________
205Modified: svn:mergeinfo
206 Merged /fsf/glibc-2_17-branch:r22178-22242
207