Fix case where fastroute or "to interface" is used with incorrect FIB.
PR: 183065 Submitted by: p-freebsd-bugs@ziemba.us Approved by: glebius MFC after: 1 week
This commit is contained in:
parent
f5e153b026
commit
abb2c5c3a1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267634
@ -787,7 +787,7 @@ ipf_fastroute(m0, mpp, fin, fdp)
|
||||
dst->sin_addr = fdp->fd_ip;
|
||||
|
||||
dst->sin_len = sizeof(*dst);
|
||||
in_rtalloc(ro, 0);
|
||||
in_rtalloc(ro, M_GETFIB(m0));
|
||||
|
||||
if ((ifp == NULL) && (ro->ro_rt != NULL))
|
||||
ifp = ro->ro_rt->rt_ifp;
|
||||
|
Loading…
Reference in New Issue
Block a user