Files
linux/net/rxrpc
David Howells 6c45c18594 rxrpc: Don't treat call aborts as conn aborts
[ Upstream commit 57b0c9d49b ]

If a call-level abort is received for the previous call to complete on a
connection channel, then that abort is queued for the connection processor
to handle.  Unfortunately, the connection processor then assumes without
checking that the abort is connection-level (ie. callNumber is 0) and
distributes it over all active calls on that connection, thereby
incorrectly aborting them.

Fix this by discarding aborts aimed at a completed call.

Further, discard all packets aimed at a call that's complete if there's
currently an active call on a channel, since the DATA packets associated
with the new call automatically terminate the old call.

Fixes: 18bfeba50d ("rxrpc: Perform terminal call ACK/ABORT retransmission from conn processor")
Reported-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 08:17:25 +02:00
..
2017-11-24 10:18:42 +00:00
2017-08-29 10:55:20 +01:00
2017-11-24 10:18:41 +00:00
2017-11-24 10:18:42 +00:00
2017-08-29 10:55:20 +01:00
2018-02-16 16:22:27 -05:00
2017-11-24 10:18:41 +00:00
2017-08-29 10:55:20 +01:00