diff options
author | David Howells <dhowells@redhat.com> | 2018-10-08 16:46:01 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-10-08 16:55:20 +0200 |
commit | c479d5f2c2e1ce609da08c075054440d97ddff52 (patch) | |
tree | b51690957e1c646c7b9286dc085d85ceb4728e60 /net/rxrpc/Makefile | |
parent | rxrpc: Don't need to take the RCU read lock in the packet receiver (diff) | |
download | linux-c479d5f2c2e1ce609da08c075054440d97ddff52.tar.xz linux-c479d5f2c2e1ce609da08c075054440d97ddff52.zip |
rxrpc: Don't check RXRPC_CALL_TX_LAST after calling rxrpc_rotate_tx_window()
We should only call the function to end a call's Tx phase if we rotated the
marked-last packet out of the transmission buffer.
Make rxrpc_rotate_tx_window() return an indication of whether it just
rotated the packet marked as the last out of the transmit buffer, carrying
the information out of the locked section in that function.
We can then check the return value instead of examining RXRPC_CALL_TX_LAST.
Fixes: 70790dbe3f66 ("rxrpc: Pass the last Tx packet marker in the annotation buffer")
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/Makefile')
0 files changed, 0 insertions, 0 deletions