Skip to content

Bug #924 TX_RING: Compile issue#942

Merged
fklassen merged 1 commit into4.5.2-beta1from
Bug_#924_TX_RING_compile_issue
Jul 4, 2025
Merged

Bug #924 TX_RING: Compile issue#942
fklassen merged 1 commit into4.5.2-beta1from
Bug_#924_TX_RING_compile_issue

Conversation

@fklassen
Copy link
Copy Markdown
Member

@fklassen fklassen commented Jul 4, 2025

Standards checklist:

  • The PR title is descriptive.
  • The PR doesn't replicate another PR which is already open.
  • I have read the contribution guide and followed all the instructions.
  • The code follows the code style guide detailed in the wiki.
  • The code is mine or it's from somewhere with an MIT-compatible license.
  • The code is efficient, to the best of my ability, and does not waste computer resources.
  • The code is stable and I have tested it myself, to the best of my abilities.
  • If the code introduces new aliases, I provide a valid use case for all plugin users down below.

Changes:

  • Change txring.c, txring.h

  • Ensure txring compiles correctly to avoid linker errors.

    • The result of "nm -u txring.o" shows no symbols exist.
    • The config.h has HAVE_TX_RING defined but txring.c is not aware of it.
      txring.c and txring.h include config.h at the beginning.
  • Modify the assignment target for the safe_malloc return value from *txp to txp.

  • This resulted in a successful build in my build environment.

@fklassen fklassen merged commit 910d6bf into 4.5.2-beta1 Jul 4, 2025
2 checks passed
@fklassen fklassen deleted the Bug_#924_TX_RING_compile_issue branch July 4, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant