Skip to content

txAVLPredicate causes an inner priority inversion in the tx queue #32

@pavel-kirienko

Description

@pavel-kirienko

Frames are prioritized based on the transfer ID here with no respect for their session ID. This condition is not actually needed because AVL ordering is stable -- items that compare equal retain FIFO ordering

https://github.com/OpenCyphal-Garage/libudpard/blob/32ff7e94b6f8a5f57c6c5722f80043e4be8ccd87/libudpard/udpard.c#L395C23-L410

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions