Skip to content

KFunc bpf_dynptr_file_discard

v6.19

Discard a dynptr created with bpf_dynptr_from_file.

Definition

Parameters

dynptr: The dynptr to be cleaned up.

Signature

int bpf_dynptr_file_discard(struct bpf_dynptr *dynptr)

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome