aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-12-23 12:31:20 -0500
committerDavid S. Miller <davem@davemloft.net>2016-12-23 12:31:20 -0500
commitd3a51d6cbc8a31bf924be1fe116e461138b1cddc (patch)
treef82056ea3aae09a9a74e3960b5ced4dcfd901527 /net
parenta98f91758995cb59611e61318dddd8a6956b52c3 (diff)
parent58312125da5806308bd69e075fedae30f8cf7794 (diff)
downloadlinux-stericsson-d3a51d6cbc8a31bf924be1fe116e461138b1cddc.tar.gz
Merge branch 'mlxsw-router-fixes'
Jiri Pirko says: ==================== mlxsw: Router fixes Ido says: First two patches ensure we remove from the device's table neighbours that are considered to be dead by the neighbour core. The last patch removes nexthop groups from the device when they are no longer valid. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/neighbour.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index 782dd8663665..7bb12e07ffef 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -100,6 +100,7 @@ static void neigh_cleanup_and_release(struct neighbour *neigh)
neigh->parms->neigh_cleanup(neigh);
__neigh_notify(neigh, RTM_DELNEIGH, 0);
+ call_netevent_notifiers(NETEVENT_NEIGH_UPDATE, neigh);
neigh_release(neigh);
}