We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When data packets need to be sorted, segment errors will be triggered in function mbuf_sort. I think it should be like this, and it does work.
mbuf_sort(){ ... if ((*next)->frag_cnt < (*curr)->frag_cnt) { // swap pointers for curr and curr->next schc_mbuf_t *temp; temp = *curr; *curr = *next; *next = temp; temp = (*curr)->next; (*curr)->next = (*next)->next; (*next)->next = temp; curr = &(*curr)->next; swapped = 1; } ... }
The text was updated successfully, but these errors were encountered:
Could you give more information when this happens?
Sorry, something went wrong.
No branches or pull requests
When data packets need to be sorted, segment errors will be triggered in function mbuf_sort.
I think it should be like this, and it does work.
The text was updated successfully, but these errors were encountered: