diff options
author | 2016-12-23 12:31:20 -0500 | |
---|---|---|
committer | 2016-12-23 12:31:20 -0500 | |
commit | d3a51d6cbc8a31bf924be1fe116e461138b1cddc (patch) | |
tree | f82056ea3aae09a9a74e3960b5ced4dcfd901527 /net | |
parent | ipv6: handle -EFAULT from skb_copy_bits (diff) | |
parent | mlxsw: spectrum_router: Correctly remove nexthop groups (diff) | |
download | linux-dev-d3a51d6cbc8a31bf924be1fe116e461138b1cddc.tar.xz linux-dev-d3a51d6cbc8a31bf924be1fe116e461138b1cddc.zip |
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.c | 1 |
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); } |