Contents of /trunk/glibc/patches/glibc-2.17-add-msg-fastopen-sync-linux37.patch
Parent Directory | Revision Log
Revision 2031 -
(show annotations)
(download)
Tue Jan 22 09:39:47 2013 UTC (11 years, 8 months ago) by niro
File size: 1792 byte(s)
Tue Jan 22 09:39:47 2013 UTC (11 years, 8 months ago) by niro
File size: 1792 byte(s)
-added patches to sync with linux-3.7
1 | From fc1abbe2ccbcc8b8cb4525e3838e459ff3841635 Mon Sep 17 00:00:00 2001 |
2 | From: Andreas Jaeger <aj@suse.de> |
3 | Date: Fri, 11 Jan 2013 11:53:13 +0100 |
4 | Subject: [PATCH] Add MSG_FASTOPEN |
5 | |
6 | [BZ #15003] |
7 | * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New |
8 | value. Sync with Linux 3.7. |
9 | (cherry picked from commit c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda) |
10 | --- |
11 | ChangeLog | 6 ++++++ |
12 | sysdeps/unix/sysv/linux/bits/socket.h | 5 +++-- |
13 | 2 files changed, 9 insertions(+), 2 deletions(-) |
14 | |
15 | diff --git a/ChangeLog b/ChangeLog |
16 | index b3a214c..8480677 100644 |
17 | --- a/ChangeLog |
18 | +++ b/ChangeLog |
19 | @@ -1,3 +1,9 @@ |
20 | +2013-01-11 Andreas Jaeger <aj@suse.de> |
21 | + |
22 | + [BZ #15003] |
23 | + * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New |
24 | + value. Sync with Linux 3.7. |
25 | + |
26 | 2013-01-09 David S. Miller <davem@davemloft.net> |
27 | |
28 | [BZ# 15003] |
29 | diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h |
30 | index df8f167..eadd7d9 100644 |
31 | --- a/sysdeps/unix/sysv/linux/bits/socket.h |
32 | +++ b/sysdeps/unix/sysv/linux/bits/socket.h |
33 | @@ -1,6 +1,5 @@ |
34 | /* System-specific socket constants and types. Linux version. |
35 | - Copyright (C) 1991, 1992, 1994-2001, 2004, 2006-2010, 2011, 2012 |
36 | - Free Software Foundation, Inc. |
37 | + Copyright (C) 1991-2013 Free Software Foundation, Inc. |
38 | This file is part of the GNU C Library. |
39 | |
40 | The GNU C Library is free software; you can redistribute it and/or |
41 | @@ -208,6 +207,8 @@ enum |
42 | #define MSG_MORE MSG_MORE |
43 | MSG_WAITFORONE = 0x10000, /* Wait for at least one packet to return.*/ |
44 | #define MSG_WAITFORONE MSG_WAITFORONE |
45 | + MSG_FASTOPEN = 0x20000000, /* Send data in TCP SYN. */ |
46 | +#define MSG_FASTOPEN MSG_FASTOPEN |
47 | |
48 | MSG_CMSG_CLOEXEC = 0x40000000 /* Set close_on_exit for file |
49 | descriptor received through |
50 | -- |
51 | 1.7.3.4 |
52 |