efx_filter_get_filter_safe(9)
π efx_filter_get_filter_safe(9)
okay so this is a page from the Kernel API Manual and it's all about efx_filter_get_filter_safe β the safe-girl version of grabbing a filter by its ID π
β¨ NAME β¨
efx_filter_get_filter_safe β retrieve a filter by ID, but likeβ¦ carefully π
πΈ SYNOPSIS πΈ
int efx_filter_get_filter_safe (struct efx_nic *efx , enum
efx_filter_priority priority , u32 filter_id , struct efx_filter_spec
*spec );
periodt, that's the whole signature, no notes π
π¦ ARGUMENTS π¦
efxβ the NIC from which to remove the filter. yeah that's literally what the page says bestie, don't come for me πpriorityβ the priority of the filter, exactly as you passed it toefx_filter_insert_filterfilter_idβ the ID of the filter, exactly as it came back fromefx_filter_insert_filterspecβ the buffer where the filter specification gets stored π₯
π DESCRIPTION π
bestie listen. this function range-checks filter_id first. that's the whole flex πͺ
so it is safe to call with a value passed from userland β like, actually safe, not "safe if you squint" safe. no cap. π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/ethernet/sfc/siena/efx.h efx_filter_insert_filter(9)efx_filter_remove_id_safe(9)
that's it, that's the page, go get your filter π β this little icon was brought to you by the source tree at ./drivers/net/ethernet/sfc/siena, dated October 2026, and it signs off as efx_filter_get_filter_safe(9) πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms