]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Convert rtalloc_mpath_fib() users to the new KPI.
authormelifaro <melifaro@FreeBSD.org>
Tue, 28 Apr 2020 08:06:56 +0000 (08:06 +0000)
committermelifaro <melifaro@FreeBSD.org>
Tue, 28 Apr 2020 08:06:56 +0000 (08:06 +0000)
commit192053a93a07568d4b6691b859101889ed482e05
tree1df92e4ae69c49304448942a4b28402bb0df3b7c
parent4a05b1819a862b5d16a445d9f3e4e3bbddea370e
Convert rtalloc_mpath_fib() users to the new KPI.

New fib[46]_lookup() functions support multipath transparently.
Given that, switch the last rtalloc_mpath_fib() calls to
 dib4_lookup() and eliminate the function itself.

Note: proper flowid generation (especially for the outbound traffic) is a
 bigger topic and will be handled in a separate review.
This change leaves flowid generation intact.

Differential Revision: https://reviews.freebsd.org/D24595
sys/net/radix_mpath.c
sys/net/radix_mpath.h
sys/netinet/ip_input.c
sys/netinet/ip_output.c