gecko-dev/netwerk/system/netlink
Michal Novotny d206228f78 Bug 1586731 - network ID: drop routes/addresses when link/address is removed by the kernel, r=valentin
Kernel can drop routes, addresses and neighbors without notification via netlink. So we update information in our structures as follows:
- when a link is removed all associated routes, addresses and neighbors are removed too
- when a link is disabled all associated routes and neighbors are removed
- when an address on a link is removed all routes and neighbors from this network are removed

All routes, neighbors and addresses always belong to some link, so a new class LinkInfo was created and it holds all information related to a single link. This makes finding information related to a specific link much easier.

Differential Revision: https://phabricator.services.mozilla.com/D48360

--HG--
extra : moz-landing-system : lando
2019-10-08 13:05:42 +00:00
..
NetlinkService.cpp Bug 1586731 - network ID: drop routes/addresses when link/address is removed by the kernel, r=valentin 2019-10-08 13:05:42 +00:00
NetlinkService.h Bug 1586731 - network ID: drop routes/addresses when link/address is removed by the kernel, r=valentin 2019-10-08 13:05:42 +00:00
moz.build Bug 1567616 - network id based on default gateway is wrong when VPN overrides default gateway by more specific routes r=dragana 2019-08-26 21:46:32 +00:00