dst_cache_destroy(9)
π NAME π
hii bestie π welcome to the Kernel API Manual page for dst_cache_destroy(9)! The name is literally dst_cache_destroy, and it does exactly what it says: it empties the cache and frees the allocated storage. slay β¨
β¨ SYNOPSIS β¨
void dst_cache_destroy (struct dst_cache *dst_cache );
π«Ά ARGUMENTS π«Ά
dst_cacheβ the cache. that's it, that's the argument π
π DESCRIPTION π
okay so listen closely, bestie: no synchronization is enforced. like, none. zero. nada. π This function must be called only when the cache is unused β that's the whole vibe check.
β οΈ no synchronization is enforced β call it only when the cache is unused. fr fr.
π SEE ALSO π
Kernel file ./include/net/dst_cache.h β yes, that one. also these iconic kernel besties, all in their (9) era:
dst_cache_get(9)dst_cache_get_ip4(9)dst_cache_set_ip4(9)dst_cache_set_ip6(9)dst_cache_get_ip6(9)dst_cache_reset(9)dst_cache_reset_now(9)dst_cache_init(9)
xoxo π source/version: ./include/net Β· date: October 2026 π
π¦ 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