dst_cache_reset_now(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, this is dst_cache_reset_now(9) from the Kernel API Manual β€” and it’s giving β€œinvalidate the cache contents immediately.” πŸ’…

dst_cache_reset_now β€” invalidate the cache contents immediately.


🌸 SYNOPSIS 🌸

yep, that’s the whole signature, no cap:

void dst_cache_reset_now (struct dst_cache *dst_cache );

πŸŽ€ ARGUMENTS πŸŽ€

  • dst_cache β€” the cache. that’s the one you’re dealing with, bestie πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so real talk: the caller must be sure there are no concurrent users, because this frees all dst_cache users immediately, rather than waiting for the next per-cpu usage like dst_cache_reset does. 😭

most callers should use the higher speed lazily-freed dst_cache_reset function instead. that’s the main character here, fr fr. ✨


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./include/net/dst_cache.h β€” go read it, bestie 🫢


that’s the whole page, bestie β€” source ./include/net, dated October 2026, page tag dst_cache_reset_now(9). mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from