Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\offload.c Create Date:2022-07-28 13:25:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__bpf_prog_offload_destroy

Proto:static void __bpf_prog_offload_destroy(struct bpf_prog *prog)

Type:void

Parameter:

TypeParameterName
struct bpf_prog *prog
214  offload = offload
216  If dev_state Then destroy(prog)
220  bpf_prog_free_id(prog, true)
222  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
223  kfree(offload)
224  offload = NULL
Caller
NameDescribe
bpf_prog_offload_destroy
bpf_offload_dev_netdev_unregister