dankamongmen / libnetstack

Small library around rtnetlink to track networking stack elements
https://nick-black.com/dankwiki/index.php/Libnetstack
Apache License 2.0
10 stars 0 forks source link

Clean caches on NETSTACK_DEL events #33

Closed dankamongmen closed 4 years ago

dankamongmen commented 4 years ago

When we get a DEL message for ifaces, we need clean out both the hcache and the nametrie. This implements such cleaning (#29), as well as name_trie_purge() (#28).