]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Add missing wakeup on Tx window rotation
authorDavid Howells <dhowells@redhat.com>
Tue, 13 Sep 2016 21:36:21 +0000 (22:36 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 13 Sep 2016 21:36:21 +0000 (22:36 +0100)
commite273cd03fc4e7fc9087d82eee66484c1e0d87a68
treeb92a09373cd856ed8b490e4a27a28fd2fa37b5e6
parentba23d6a00ed8f0a843de871fec91b7c1048c955a
rxrpc: Add missing wakeup on Tx window rotation

We need to wake up the sender when Tx window rotation due to an incoming
ACK makes space in the buffer otherwise the sender is liable to just hang
endlessly.

This problem isn't noticeable if the Tx phase transfers no more than will
fit in a single window or the Tx window rotates fast enough that it doesn't
get full.

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