]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd25ccb7ca4cfffbe3265facb796f5b9266501613
treeb59e4d6ded78b5c8d65facef476f0f47f792ddbf
parent39bc4e75bff66b95a3a5fc1aa63847de6af14f49
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