rxrpc: Once packet posted in data_ready, don't retry posting
authorDavid Howells <dhowells@redhat.com>
Tue, 9 Aug 2016 09:11:48 +0000 (10:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 9 Aug 2016 16:13:55 +0000 (17:13 +0100)
commit2e7e9758b2b680fa615d5cf70b7af416e96162d2
treeb59e4d6ded78b5c8d65facef476f0f47f792ddbf
parentf9dc575725baeaad8eb5262589f9aebeeaf13433
rxrpc: Once packet posted in data_ready, don't retry posting

Once a packet has been posted to a connection in the data_ready handler, we
mustn't try reposting if we then find that the connection is dying as the
refcount has been given over to the dying connection and the packet might
no longer exist.

Losing the packet isn't a problem as the peer will retransmit.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/input.c