New RX PDU dropped due to max RX transactions reached on channel not counted
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- embedded-iot, networking
Research direction
Start in fsw/src/cf_cfdp_sbintf.c around lines 260-261 and trace the max-RX-transactions path through CF_CFDP_RecvDrop. Confirm how the channel number and dropped counter are handled when no transaction is created. Done means this condition is counted for the receiving channel and the behavior is covered by the relevant existing test path.
Written by the indexing model from the issue text.
Description
Checklist (Please check before submitting)
- I reviewed the Contributing Guide.
- I reviewed the CF README.md file to see if the feature is in the major future work.
- I performed a cursory search to see if the feature request is relevant, not redundant, nor in conflict with other tickets.
Is your feature request related to a problem? Please describe.
There's a strange comment about "no known channel" as justification for dropping a new RX PDU without incrementing the channel dropped receive counter, yet the channel number is known since it's received on the channel pipe and the local EID matches.
https://github.com/nasa/CF/blob/1ba450b3d7edd2cd63d9db104ce5201ccca16e28/fsw/src/cf_cfdp_sbintf.c#L260-L261
Describe the solution you'd like
I'd expect the dropped counter to increment as a way to track this condition per channel. There isn't a transaction set up or a CF_CFDP_DispatchRecv called, but all the CF_CFDP_RecvDrop call does is increment the dropped counter anyways.
Describe alternatives you've considered
Maybe the received "dropped" counter is only intended for RX transactions that have been started... seems like useful information though. Probably also useful to track with a counter if the event gets filtered.
Additional context
I couldn't find a requirement so likely derived.
Requester Info
Jacob Hageman - NASA/GSFC
- Dominant language
- C
- Stars
- 123
- Forks
- 82
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nasa/CF
-
CF_CFDP_S_SendFileData computes the file checksum from the SB buffer after CFE_SB_TransmitBufferOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Assert checks non-existent variable (`pt`) in `CF_CFDP_ProcessPlaybackDirectory()`May be free again A pull request for this issue was closed without being merged. Openinvalid
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Similar issues
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
389ds/389-ds-base#8251 ·
Maintainers usually reply within 1 day
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ClickHouse/clickhouse-cpp#645 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ROCm/hrx-system#3628 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
OpenPrinting/cups#1844 ·
Maintainers usually reply within 1 day