Skip to content

KFunc bpf_kfree_skb

v6.16

Release an socket buffer reference and drop it immediately.

Definition

Parameters

skb: The skb whose reference to be released and dropped.

Signature

void bpf_kfree_skb(struct sk_buff *skb)

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