RxRPC: Don't attempt to reuse aborted connections
authorDavid Howells <dhowells@redhat.com>
Tue, 16 Jun 2009 20:36:44 +0000 (21:36 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 04:20:14 +0000 (21:20 -0700)
commit519d25679e8ae7433c758b9e74b19144f61b90f8
treee458a5fbf4e37568133fd2488772e98c159fca2b
parent0dd5198672dd2bbeb933862e1fc82162e0b636be
RxRPC: Don't attempt to reuse aborted connections

Connections that have seen a connection-level abort should not be reused
as the far end will just abort them again; instead a new connection
should be made.

Connection-level aborts occur due to such things as authentication
failures.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/rxrpc/ar-connection.c
net/rxrpc/ar-connevent.c