dst_cache_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dst_cache_reset(9) β€” like, the Kernel API Manual bestie πŸŽ€

okay so bestie, welcome to dst_cache_reset(9), straight out of the Kernel API Manual. it's a tiny little function and honestly it's giving "small but mighty" ✨ let's get into it.


πŸ¦‹ NAME πŸ¦‹

dst_cache_reset β€” invalidate the cache contents πŸ’€βœ¨


🌸 SYNOPSIS 🌸

void dst_cache_reset (struct dst_cache *dst_cache );

no return value, no drama, just vibes 🫢


πŸ’– ARGUMENTS πŸ’–

  • dst_cache β€” the cache πŸ‘‘ that's it, that's the whole argument. it's the cache you're resetting. iconic.

πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea, bestie: this does not free the cached dst. and why? to avoid races and contentions 😭 β€” like, it's being polite and not causing chaos, we love that for it.

instead, the dst will be freed on a later cache lookup. so it's not gone-gone, it's just... later-gone. lowkey a procrastinator, highkey valid πŸ’…

ngl this is the important bit: no freeing happens here. if you were expecting an immediate free, that is not this function, periodt. the actual free is deferred to a future cache lookup, fr fr.

🧚 SEE ALSO 🧚

Kernel file ./include/net/dst_cache.h β€” go read it, iykyk πŸ“–


and that's the whole page, bestie 🌈 go forth and reset those caches responsibly πŸ’œ

mwah πŸ’‹ β€” sourced from ./include/net, dated October 2026, and yes the page is literally dst_cache_reset(9), we stan a self-titled icon πŸ‘‘

πŸ“¦ where this page comes from