Skip to content

map: Add lookup_into_and_delete()#1390

Merged
d-e-s-o merged 1 commit into
libbpf:masterfrom
Jongy:lookup-into-and-delete
May 11, 2026
Merged

map: Add lookup_into_and_delete()#1390
d-e-s-o merged 1 commit into
libbpf:masterfrom
Jongy:lookup-into-and-delete

Conversation

@Jongy
Copy link
Copy Markdown
Contributor

@Jongy Jongy commented May 10, 2026

Also refactor lookup_and_delete() to use lookup_raw_vec().

lmk if you prefer I split it to 2 PRs

Also refactor lookup_and_delete() to use lookup_raw_vec().

Signed-off-by: Yonatan Goldschmidt <yonatan.goldschmidt@wiz.io>
@Jongy
Copy link
Copy Markdown
Contributor Author

Jongy commented May 10, 2026

@d-e-s-o this is the build error:

Caused by:
  failed to load source for dependency `linux-loader`

Caused by:
  unable to update https://github.com/d-e-s-o/linux-loader.git?branch=topic%2Fvm-memory-0.18

Caused by:
  failed to find branch `topic/vm-memory-0.18`

Caused by:
  cannot locate remote-tracking branch 'origin/topic/vm-memory-0.18'; class=Reference (4); code=NotFound (-3)

maybe the branch was deleted?

@d-e-s-o
Copy link
Copy Markdown
Collaborator

d-e-s-o commented May 11, 2026

maybe the branch was deleted?

Yes, sorry about that. Restored. We should update to top of tree, then we no longer require this fork.

Copy link
Copy Markdown
Collaborator

@d-e-s-o d-e-s-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me, thanks.

@d-e-s-o d-e-s-o merged commit 6dc34ee into libbpf:master May 11, 2026
31 of 35 checks passed
@Jongy Jongy deleted the lookup-into-and-delete branch May 11, 2026 18:07
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.

2 participants