aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/proc.h
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2019-05-19 21:49:56 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2019-05-19 21:49:56 +0000
commit2ad7ed6e4a84448234e9aaef3c9fa884848f7387 (patch)
treea5a2b93e48beb4e23f13cee68010e5247cc550b9 /sys/sys/proc.h
parent980bde58344a6b226ed1618e3dcc22271e10cfa3 (diff)
downloadsrc-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/sys/proc.h')
0 files changed, 0 insertions, 0 deletions