Skip to content

Conversation

kernel-patches-daemon-bpf[bot]
Copy link

Pull request for series with
subject: bpf: Replace kvfree with kfree for kzalloc memory
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=995860

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 2465bb8
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995860
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 2465bb8
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995860
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 2660b9d
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995860
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: d3abefe
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995860
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 4c229f3
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995860
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: bd27626
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995860
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 737433c
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995860
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 98857d1
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=995860
version: 2

These pointers are allocated by kzalloc.
Replace kvfree() with kfree() to avoid unnecessary is_vmalloc_addr()
check in kvfree().

This is the remaining unmodified part from [1].

[1] https://lore.kernel.org/bpf/[email protected].

Signed-off-by: Feng Yang <[email protected]>
Acked-by: Yonghong Song <[email protected]>
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