Skip to content

Conversation

@kernel-patches-daemon-bpf-rc
Copy link

Pull request for series with
subject: bpftool: Add HELP_SPEC_OPTIONS in token.c
version: 4
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1004078

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 8cd189e
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1004078
version: 4

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 8cd189e
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1004078
version: 4

Tao Chen added 2 commits September 19, 2025 09:33
$ ./bpftool token help

Usage: bpftool token { show | list }
       bpftool token help
       OPTIONS := { {-j|--json} [{-p|--pretty}] | {-d|--debug} }

Fixes: 2d81231 ("bpftool: Add bpf_token show")

Acked-by: Quentin Monnet <[email protected]>
Signed-off-by: Tao Chen <[email protected]>
The return value ret pointer is pointing opts_copy, but opts_copy
gets freed in get_delegate_value before return, fix this by free
the mntent->mnt_opts strdup memory after show delegate value.

Fixes: 2d81231 ("bpftool: Add bpf_token show")
Signed-off-by: Tao Chen <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 815276d
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1004078
version: 4

@kernel-patches-daemon-bpf-rc
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=1004078 irrelevant now. Closing PR.

@kernel-patches-daemon-bpf-rc kernel-patches-daemon-bpf-rc bot deleted the series/1004078=>bpf-next branch September 19, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant