title | description |
---|---|
KFunc 'bpf_key_put' |
This page documents the 'bpf_key_put' eBPF kfunc, including its defintion, usage, program types that can use it, and examples. |
Decrement key reference count if key is valid and free bpf_key
Decrement the reference count of the key inside bkey
, if the pointer is valid, and free bkey
.
#!c void bpf_key_put(struct bpf_key *bkey)
!!! note This kfunc releases the pointer passed in to it. There can be only one referenced pointer that can be passed in. All copies of the pointer being released are invalidated as a result of invoking this kfunc.
!!! example "Docs could be improved" This part of the docs is incomplete, contributions are very welcome
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