diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-02-28 14:32:02 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2022-02-28 14:32:02 +0000 |
commit | 5273c9d5b0262862560541c43302f48847cf3da3 (patch) | |
tree | b6e6bb780fbd61af5c8c24c6f31735936e02cf55 /sys/scsi | |
parent | a12e6587d4ef439836e53dd5d0e351c3ae573240 (diff) |
Instead of handrolling what is mostly prefix_link/prefix_unlink in
prefix_move() and prefix_adjout_update() use the functions by
refactoring them a bit so they work in these cases.
Move the pftable update and prefix evaluate call to prefix_add
make nexthop_link() a noop for prefixes of the Adj-RIB-Out and
in prefix_unlink() don't clear p->pt after the pt_unref() call.
In prefix_adjout_* functions make sure to call prefix_unlink() when
a prefix is linked and gets removed or replaced.
OK tb@
Diffstat (limited to 'sys/scsi')
0 files changed, 0 insertions, 0 deletions