diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2017-02-08 11:16:28 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-02-08 15:25:15 -0500 |
| commit | e58be79e2dc818b0e2b3c69ea3d3fefcbc8c709b (patch) | |
| tree | 621668a6300c1f08d59559ed25c52b833114fe4a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | mlxsw: acl: Fix mlxsw_afa_block_commit error path (diff) | |
| download | linux-e58be79e2dc818b0e2b3c69ea3d3fefcbc8c709b.tar.gz linux-e58be79e2dc818b0e2b3c69ea3d3fefcbc8c709b.zip | |
mlxsw: spectrum_router: Nullify nexthop's neigh pointer
When we invalidate a nexthop we should also invalidate its neighbour
entry pointer as it might be destroyed later on. This makes the nexthop
de-init function symmetric with its init and also ensures nobody will
try to access the neighbour entry.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
