Skip to content

Native module should check the NMR provider module ID before attaching. #3619

Open
@saxena-anurag

Description

@saxena-anurag

Currently native module registers as NMR client and returns success when its attach callback is called. It should ideally check the NMR provider ID before returning success or failure.

Proposal:

  1. eBPFAPI should populate the expected provider module ID in registry. It already populates the client module ID in registry today.
  2. Native module will read the expected provider module ID and attach to only that provider.

Note:
This change will not be a breaking change now but can become a breaking change in future. It will be great if we can take this fix in 0.17

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededtriagedDiscussed in a triage meeting

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions