FreeBSD Bugzilla – Attachment 124466 Details for
Bug 167947
[setfib] [patch] arpresolve checks only the default FIB for the interface route
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 806 bytes, created by
Nikolay Denev
on 2012-05-16 04:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Nikolay Denev
Created:
2012-05-16 04:50:01 UTC
Size:
806 bytes
patch
obsolete
>--- in.c.orig 2012-05-12 08:57:17.000000000 +0200 >+++ in.c 2012-05-12 08:56:43.000000000 +0200 >@@ -1418,21 +1418,21 @@ > > static int > in_lltable_rtcheck(struct ifnet *ifp, u_int flags, const struct sockaddr *l3addr) > { > struct rtentry *rt; > > KASSERT(l3addr->sa_family == AF_INET, > ("sin_family %d", l3addr->sa_family)); > > /* XXX rtalloc1 should take a const param */ >- rt = rtalloc1(__DECONST(struct sockaddr *, l3addr), 0, 0); >+ rt = rtalloc1_fib(__DECONST(struct sockaddr *, l3addr), 0, 0, ifp->if_fib); > > if (rt == NULL) > return (EINVAL); > > /* > * If the gateway for an existing host route matches the target L3 > * address, which is a special route inserted by some implementation > * such as MANET, and the interface is of the correct type, then > * allow for ARP to proceed. > */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 167947
: 124466 |
124467