diff options
author | Maciej Żenczykowski <maze@google.com> | 2019-07-12 03:39:09 -0700 |
---|---|---|
committer | Maciej Żenczykowski <maze@google.com> | 2019-07-12 04:01:06 -0700 |
commit | c464fc6f667ee36432380cf99309f423cd0c3a68 (patch) | |
tree | f27725af7d1be7096e87d4f8eb099f1ca06b4e96 /common/networkstackclient/src | |
parent | 18ce8bce672a08b058515b48108f2e8ff2dd39a1 (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
Merged-In: I33244d4ab5aff9305600a68a19ea86609b2d4b5a
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Diffstat (limited to 'common/networkstackclient/src')
0 files changed, 0 insertions, 0 deletions