af_rxrpc: Prevent RxRPC peers from ABORT-storming one another
authorTim Smith <tim@electronghost.co.uk>
Fri, 7 Feb 2014 18:58:43 +0000 (18:58 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 7 Feb 2014 18:58:43 +0000 (18:58 +0000)
commitb6f3a40cb70fa53a5160b8f061ff219b00992626
tree80504efb1a3d5b89143b17f668a1e40eb420793a
parent8961749e5f498d91ded20dc797bb77aa366bca2e
af_rxrpc: Prevent RxRPC peers from ABORT-storming one another

When an ABORT is sent, aborting a connection, the sender quite reasonably
forgets about the connection.  If another frame is received, another ABORT
will be sent.  When the receiver gets it, it no longer applies to an extant
connection, so an ABORT is sent, and so on...

Prevent this by never sending a rejection for an ABORT packet.

Signed-off-by: Tim Smith <tim@electronghost.co.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-input.c