- switch to the upstream patch for #727829
This commit is contained in:
parent
57d5eabb48
commit
a26dd7c42c
@ -1,11 +1,22 @@
|
||||
--- krb5/src/lib/krb5/os/sendto_kdc.c
|
||||
+++ krb5/src/lib/krb5/os/sendto_kdc.c
|
||||
@@ -1176,7 +1176,7 @@
|
||||
for (i = 0; i < n_conns; i++) {
|
||||
int ssflags;
|
||||
RT#6951
|
||||
Index: krb5/src/lib/krb5/os/sendto_kdc.c
|
||||
===================================================================
|
||||
--- krb5/src/lib/krb5/os/sendto_kdc.c (revision 25119)
|
||||
+++ krb5/src/lib/krb5/os/sendto_kdc.c (revision 25120)
|
||||
@@ -913,12 +913,12 @@
|
||||
static void
|
||||
kill_conn(struct conn_state *conn, struct select_state *selstate, int err)
|
||||
{
|
||||
+ dprint("abandoning connection %d: %m\n", conn->fd, err);
|
||||
+ cm_remove_fd(selstate, conn->fd);
|
||||
+ closesocket(conn->fd);
|
||||
+ conn->fd = INVALID_SOCKET;
|
||||
conn->state = FAILED;
|
||||
conn->err = err;
|
||||
- shutdown(conn->fd, SHUTDOWN_BOTH);
|
||||
- cm_remove_fd(selstate, conn->fd);
|
||||
- dprint("abandoning connection %d: %m\n", conn->fd, err);
|
||||
- /* Fix up max fd for next select call. */
|
||||
}
|
||||
|
||||
- if (conns[i].fd == INVALID_SOCKET)
|
||||
+ if (conns[i].state == FAILED || conns[i].fd == INVALID_SOCKET)
|
||||
continue;
|
||||
ssflags = cm_get_ssflags(seltemp, conns[i].fd);
|
||||
if (!ssflags)
|
||||
/* Check socket for error. */
|
||||
|
@ -6,7 +6,7 @@
|
||||
Summary: The Kerberos network authentication system
|
||||
Name: krb5
|
||||
Version: 1.9.1
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
# Maybe we should explode from the now-available-to-everybody tarball instead?
|
||||
# http://web.mit.edu/kerberos/dist/krb5/1.9/krb5-1.9.1-signed.tar
|
||||
Source0: krb5-%{version}.tar.gz
|
||||
@ -672,6 +672,9 @@ exit 0
|
||||
%{_sbindir}/uuserver
|
||||
|
||||
%changelog
|
||||
* Thu Sep 1 2011 Nalin Dahyabhai <nalin@redhat.com> 1.9.1-11
|
||||
- switch to the upstream patch for #727829
|
||||
|
||||
* Wed Aug 31 2011 Nalin Dahyabhai <nalin@redhat.com> 1.9.1-10
|
||||
- handle an assertion failure that starts cropping up when the patch for
|
||||
using poll (#701446) meets servers that aren't running KDCs or against
|
||||
|
Loading…
Reference in New Issue
Block a user