Contents of /trunk/glibc/patches/glibc-2.17-add-msg-fastopen-sync-linux37.patch
Parent Directory | Revision Log
Revision 2050 -
(show annotations)
(download)
Mon Jan 28 12:51:30 2013 UTC (11 years, 8 months ago) by niro
File size: 1300 byte(s)
Mon Jan 28 12:51:30 2013 UTC (11 years, 8 months ago) by niro
File size: 1300 byte(s)
-fixed patches, removed changelog entries
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 | diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h |
12 | index df8f167..eadd7d9 100644 |
13 | --- a/sysdeps/unix/sysv/linux/bits/socket.h |
14 | +++ b/sysdeps/unix/sysv/linux/bits/socket.h |
15 | @@ -1,6 +1,5 @@ |
16 | /* System-specific socket constants and types. Linux version. |
17 | - Copyright (C) 1991, 1992, 1994-2001, 2004, 2006-2010, 2011, 2012 |
18 | - Free Software Foundation, Inc. |
19 | + Copyright (C) 1991-2013 Free Software Foundation, Inc. |
20 | This file is part of the GNU C Library. |
21 | |
22 | The GNU C Library is free software; you can redistribute it and/or |
23 | @@ -208,6 +207,8 @@ enum |
24 | #define MSG_MORE MSG_MORE |
25 | MSG_WAITFORONE = 0x10000, /* Wait for at least one packet to return.*/ |
26 | #define MSG_WAITFORONE MSG_WAITFORONE |
27 | + MSG_FASTOPEN = 0x20000000, /* Send data in TCP SYN. */ |
28 | +#define MSG_FASTOPEN MSG_FASTOPEN |
29 | |
30 | MSG_CMSG_CLOEXEC = 0x40000000 /* Set close_on_exit for file |
31 | descriptor received through |
32 | -- |
33 | 1.7.3.4 |
34 |