diff options
author | Maciej Żenczykowski <maze@google.com> | 2019-07-12 03:39:09 -0700 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2019-07-12 14:03:21 +0000 |
commit | 168d1cd3c0be288a585ed2c0b6b460231a24a41f (patch) | |
tree | 4b35ed67dfbdf6b980872e6a283c88b858c5f7a3 /src/android/net/ip/IpClient.java | |
parent | ae41943bda154164eb0ccc357128cd5dc97eab6b (diff) |
IpNeighbourMonitor - no longer require PortId = 0
This is required to support Linux kernel 4.11+ due to:
commit 7b8f7a402d4cfc3a1361a2766066127f9bccadc4 [v4.11-rc2-661-g7b8f7a402d4c]
Author: Roopa Prabhu <roopa@cumulusnetworks.com>
Date: Sun Mar 19 22:01:28 2017 -0700
neighbour: fix nlmsg_pid in notifications
neigh notifications today carry pid 0 for nlmsg_pid
in all cases. This patch fixes it to carry calling process
pid when available. Applications (eg. quagga) rely on
nlmsg_pid to ignore notifications generated by their own
netlink operations. This patch follows the routing subsystem
which already sets this correctly.
Reported-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Test: builds
Bug: 137234834
Change-Id: I33244d4ab5aff9305600a68a19ea86609b2d4b5a
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Diffstat (limited to 'src/android/net/ip/IpClient.java')
0 files changed, 0 insertions, 0 deletions