android_system_core/libsysutils/src
Lorenzo Colitti ef6454d3d3 Tolerate RTM_DELADDR messages from deleted interfaces.
When an interface is deleted (which can happen, for example, to
the tun interfaces used for VPN and 464xlat), the kernel sends
RTM_DELADDR messages for all its IP addresses.

Currently we ignore these because we cannot fetch the interface
name. Instead, pass them up with an empty interface name so that
NetlinkHandler can do something useful for them, such as destroy
connections on the IP addresses that are being deleted.

Bug: 26976388
Change-Id: I2ced7e389228f9d665d0a87d97bd3452c8c0c98b
2016-02-16 23:12:26 +09:00
..
FrameworkClient.cpp libsysutils: Handle EINTR in FrameworkClient.cpp 2011-01-19 02:18:40 +01:00
FrameworkCommand.cpp libsysutils: Get rid of warnings 2014-01-27 15:06:22 -08:00
FrameworkListener.cpp libsysutils: turn on -Werror 2014-04-30 07:51:47 -07:00
NetlinkEvent.cpp Tolerate RTM_DELADDR messages from deleted interfaces. 2016-02-16 23:12:26 +09:00
NetlinkListener.cpp Extend to receive NFLOG packets. 2015-01-15 12:50:59 -08:00
ServiceManager.cpp libsysutils: Fix wait loop in ServiceManager::start and ::stop 2011-01-19 02:18:40 +01:00
SocketClient.cpp Add missing <malloc.h> and <string.h> includes. 2015-01-28 11:37:57 -08:00
SocketListener.cpp Switch from using sockaddr to sockaddr_storage. 2015-12-07 16:07:46 +09:00