OSDN Git Service

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)
commitfc6e8073f304010605f834cb2eb8c07c46461c9d
treed3f4fecf55349f4de7a7c8a9f3faafb394632d20
parentf7aa74e483e81c7a064ebc29e5deeb6b31cde412
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