summaryrefslogtreecommitdiff
path: root/src/lib/rxmwheel.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-10-15 12:36:07 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2018-10-15 13:30:56 +0200
commit8b457e304186c8512139018fcdebc1c221d22ef0 (patch)
treedb52b4a8092e5be0a77d15f16da526c4c3a5b9a4 /src/lib/rxmwheel.c
parent36b89517affd96c9e323af9a4e6e88c8f0938caf (diff)
downloadouroboros-8b457e304186c8512139018fcdebc1c221d22ef0.tar.gz
ouroboros-8b457e304186c8512139018fcdebc1c221d22ef0.zip
lib: Remove CRC flag from FRCT
The integrity check mechanism was split from FRCT, this flag is not needed anymore. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/lib/rxmwheel.c')
-rw-r--r--src/lib/rxmwheel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/rxmwheel.c b/src/lib/rxmwheel.c
index 69151801..c75aaab3 100644
--- a/src/lib/rxmwheel.c
+++ b/src/lib/rxmwheel.c
@@ -88,7 +88,7 @@ static void rxmwheel_clear(int fd)
{
size_t i;
- /* FIXME: Add list element to avoid looping over full rxmwheel */
+ /* FIXME: Add list element to avoid looping over full rxmwheel. */
pthread_mutex_lock(&rw.lock);
for (i = 0; i < RXMQ_SLOTS; ++i) {
@@ -174,11 +174,11 @@ static int rxmwheel_move(void)
head = shm_du_buff_head(sdb);
memcpy(head, r->head, r->tail - r->head);
- /* Release the old copy */
+ /* Release the old copy. */
shm_du_buff_ack(r->sdb);
ipcp_sdb_release(r->sdb);
- /* Update ackno and make sure DRF is not set*/
+ /* Update ackno and make sure DRF is not set. */
((struct frct_pci *) head)->ackno = ntoh32(rcv_cr->lwe);
((struct frct_pci *) head)->flags &= ~FRCT_DRF;