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

Remove elements from cache on DEL events #29

Closed dankamongmen closed 5 years ago

dankamongmen commented 5 years ago

I don't think that we're currently removing ifaces based on DEL events. In face, I think we're calling e.g. viface_cb with a different etype, but that's it. We need do a purge either in the cfxn callbacks, or assign a different cfxn based on etype. I think the former is better.

dankamongmen commented 5 years ago

This ties in to #28, of course.