Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_map_offload_map_free

Proto:void bpf_map_offload_map_free(struct bpf_map *map)

Type:void

Parameter:

TypeParameterName
struct bpf_map *map
422  offmap = map_to_offmap(map)
424  RTNL is used as a global lock for all changes to network configuration
425  lock for writing
426  If netdev Then __bpf_map_offload_destroy(offmap)
428  lease a write lock
429  rtnl_unlock()
431  kfree(offmap)