This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/20257] sunrpc: clntudp_call does not enforce timeout when receiving data
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 28 Feb 2017 16:37:03 +0000
- Subject: [Bug network/20257] sunrpc: clntudp_call does not enforce timeout when receiving data
- Auto-submitted: auto-generated
- References: <bug-20257-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20257
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, release/2.25/master has been updated
via 93cf93e06ce123439e41d3d62790601c313134cb (commit)
from 045e368799cd253ddbf8bdec42ed92e8ebb3ce67 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=93cf93e06ce123439e41d3d62790601c313134cb
commit 93cf93e06ce123439e41d3d62790601c313134cb
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Feb 28 17:36:00 2017 +0100
sunrpc: Improvements for UDP client timeout handling [BZ #20257]
This commit fixes various aspects in the UDP client timeout handling.
Timeouts are now applied in a more consistent fashion. Discarded UDP
packets no longer prevent the timeout from happening at all.
(cherry picked from commit cf0bd2f73bd65beab613865bba567d7787836888)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 23 +++
NEWS | 1 +
inet/Makefile | 8 +-
inet/deadline.c | 122 +++++++++++++
inet/net-internal.h | 89 +++++++++
inet/tst-deadline.c | 188 ++++++++++++++++++++
sunrpc/Makefile | 10 +-
sunrpc/clnt_udp.c | 127 ++++++++------
sunrpc/tst-udp-garbage.c | 104 +++++++++++
sunrpc/tst-udp-nonblocking.c | 333 ++++++++++++++++++++++++++++++++++
sunrpc/tst-udp-timeout.c | 402 ++++++++++++++++++++++++++++++++++++++++++
11 files changed, 1348 insertions(+), 59 deletions(-)
create mode 100644 inet/deadline.c
create mode 100644 inet/tst-deadline.c
create mode 100644 sunrpc/tst-udp-garbage.c
create mode 100644 sunrpc/tst-udp-nonblocking.c
create mode 100644 sunrpc/tst-udp-timeout.c
--
You are receiving this mail because:
You are on the CC list for the bug.