diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2017-03-19 22:01:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-22 10:48:49 -0700 |
commit | 7b8f7a402d4cfc3a1361a2766066127f9bccadc4 (patch) | |
tree | b44eafb94e7ea3bb32b4bb234746716cc5c535b2 /net/llc/af_llc.c | |
parent | 7ada7ca562714632d0fc9abb24e27cab67bdbf0d (diff) | |
download | op-kernel-dev-7b8f7a402d4cfc3a1361a2766066127f9bccadc4.zip op-kernel-dev-7b8f7a402d4cfc3a1361a2766066127f9bccadc4.tar.gz |
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>
Diffstat (limited to 'net/llc/af_llc.c')
0 files changed, 0 insertions, 0 deletions