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 Merged-In: I33244d4ab5aff9305600a68a19ea86609b2d4b5a Signed-off-by:
Maciej Żenczykowski <maze@google.com>
Loading
Please register or sign in to comment