dst_cache_reset_now(9)
β¨ 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 π«Ά
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_init(9)dst_cache_destroy(9)
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
- 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