diff options
author | 2021-06-08 18:44:37 +0200 | |
---|---|---|
committer | 2021-06-09 15:16:10 +0000 | |
commit | d0f23a316404025f946317826b9234b8afcc93ac (patch) | |
tree | 69a8f42554cd11dd4c51b573d9ecffd8f791a6cb /docs/events/Summits/OpenNetworkSummit | |
parent | 655c37760724c26c1de15602bf8e4087854af042 (diff) |
fib: make sure dpo is valid even when path pool expands
The path pool can expand during in fib_path_attached_next_hop_get_adj()
when calling adj_nbr_add_or_lock(). If dpo points to a path->fp_dpo, its
reference becomes stale.
Use a temporary copy instead.
Type: fix
Change-Id: Ie966cb5f3f7b416425964dca12f1f586bfc2010c
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit e9d7b0982d7bd189097260b6581abff472da251a)
Diffstat (limited to 'docs/events/Summits/OpenNetworkSummit')
0 files changed, 0 insertions, 0 deletions