]> git.baikalelectronics.ru Git - kernel.git/commit
neighbour: send netlink notification if NTF_ROUTER changes
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sun, 23 Sep 2018 04:26:20 +0000 (21:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Sep 2018 19:21:32 +0000 (12:21 -0700)
commit0c7a1e8c20b959c81868b833c35552b5cc051c93
treed3f4fecf55349f4de7a7c8a9f3faafb394632d20
parent659f2b5b7affdacbb8662d194679ad9fff9faf8c
neighbour: send netlink notification if NTF_ROUTER changes

send netlink notification if neigh_update results in NTF_ROUTER
change and if NEIGH_UPDATE_F_ISROUTER is on. Also move the
NTF_ROUTER change function into a helper.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/neighbour.h
net/core/neighbour.c