Chromium Code Reviews| Index: net/base/address_tracker_linux.cc |
| diff --git a/net/base/address_tracker_linux.cc b/net/base/address_tracker_linux.cc |
| index b97b2b00e0d48ce6615ecf494639b533078f1577..af2a88dafc6da6c15a3deab72a5c7bb3ac49e71a 100644 |
| --- a/net/base/address_tracker_linux.cc |
| +++ b/net/base/address_tracker_linux.cc |
| @@ -141,6 +141,9 @@ void AddressTrackerLinux::Init() { |
| } |
| netlink_fd_ = sock; |
| + |
| + // Consume any pending messages to populate the AddressMap, but don't notify. |
| + ReadMessages(); |
|
mmenke
2012/09/04 19:40:16
Since this is a non-blocking socket, is there a ch
szym
2012/09/04 20:10:59
I just tested this and it seems to be working as i
|
| } |
| AddressTrackerLinux::AddressMap AddressTrackerLinux::GetAddressMap() const { |