ipc_pcie_kfree_skb(9)
π ipc_pcie_kfree_skb β the kernel API manual page (section 9, bestie) π
okay so picture this: you're deep in section 9 of the kernel API manual, and you've stumbled onto ipc_pcie_kfree_skb. hiii welcome, come sit with me π«Ά this is the cleanup bestie β the one that frees an skb that was handed to you by ipc_pcie_alloc_*_skb(). that's the whole vibe. allocate responsibly, free responsibly, no leaks, periodt π
β¨ NAME β¨
ipc_pcie_kfree_skb β Free skb allocated by ipc_pcie_alloc_*_skb().
like literally. that's it. that's the job. you got an skb from one of the ipc_pcie_alloc_*_skb() friends, and now you're done with it, so you hand it back. iconic behaviour honestly πΈ
π¦ SYNOPSIS π¦
void ipc_pcie_kfree_skb (struct iosm_pcie *ipc_pcie , struct sk_buff
*skb );
it returns void β nothing comes back, no status code, no receipt, no "thanks bestie". it just... frees. and it takes two things, which we're about to go through π
π ARGUMENTS π
ipc_pcieβ Pointer tostruct iosm_pcie. yes the pointer, the struct itself, the whole situation. π§skbβ Pointer to the skb. the actual skb you want gone. that's the one. π
ngl the entire function is two pointers and a dream. but like β pass the right pointers. a wrong pointer here is not a cute look, it's giving undefined chaos π
π SEE ALSO π
- Kernel file
./drivers/net/wwan/iosm/iosm_ipc_pcie.h - enum
ipc_pcie_sleep_state(9) struct iosm_pcie(9)struct ipc_skb_cb(9)- enum
ipc_ul_usr_op(9) ipc_pcie_addr_map(9)ipc_pcie_addr_unmap(9)ipc_pcie_alloc_skb(9)ipc_pcie_alloc_local_skb(9)ipc_pcie_check_data_link_active(9)ipc_pcie_suspend(9)ipc_pcie_resume(9)ipc_pcie_check_aspm_enabled(9)ipc_pcie_config_aspm(9)
the alloc side of the family is right there in that list (ipc_pcie_alloc_skb(9), ipc_pcie_alloc_local_skb(9)) β go say hi, that's where your skb came from, iykyk π₯
and that's the page!! short, sweet, two pointers, one free πβ¨
~ cute sign-off time ~ π this lil gem lives in ./drivers/net/wwan/iosm, and the date on the tin is October 2026. go free your skbs, bestie, and remember: every alloc deserves its kfree π¦ππ
π¦ 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