diff --git a/net/rxrpc/input.c b/net/rxrpc/input.c
index 4974b5accafa..4f5c1b0d9260 100644
--- a/net/rxrpc/input.c
+++ b/net/rxrpc/input.c
@@ -328,8 +328,8 @@ static bool rxrpc_rotate_tx_window(struct rxrpc_call *call, rxrpc_seq_t to,
 		if (tq) {
 			trace_rxrpc_tq(call, tq, seq, rxrpc_tq_rotate_and_free);
 			kfree(tq);
-			call->tx_queue = NULL;
 		}
+		call->tx_queue = NULL;
 	}
 
 	_debug("%x,%x,%x,%d", to, call->tx_bottom, call->tx_top, rot_last);