diff options
author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2019-05-19 21:49:56 +0000 |
---|---|---|
committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2019-05-19 21:49:56 +0000 |
commit | 2ad7ed6e4a84448234e9aaef3c9fa884848f7387 (patch) | |
tree | a5a2b93e48beb4e23f13cee68010e5247cc550b9 /sys/dev/dcons | |
parent | 980bde58344a6b226ed1618e3dcc22271e10cfa3 (diff) | |
download | src-2ad7ed6e4a84448234e9aaef3c9fa884848f7387.tar.gz src-2ad7ed6e4a84448234e9aaef3c9fa884848f7387.zip |
Fix rt_ifa selection during loopback route insertion process.
Currently such routes are added with a link-level IFA, which is
plain wrong. Only after the insertion they get fixed by the special
link_rtrequest() ifa handler. This behaviour complicates routing code
and makes ifa selection more complex.
Streamline this process by explicitly moving link_rtrequest() logic
to the pre-insertion rt_getifa_fib() ifa selector. Avoid calling all
this logic in the loopback route case by explicitly specifying
proper rt_ifa inside the ifa_maintain_loopback_route().ยง
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D20076
Notes
Notes:
svn path=/head/; revision=347982
Diffstat (limited to 'sys/dev/dcons')
0 files changed, 0 insertions, 0 deletions