FreeBSD Bugzilla – Attachment 124467 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]
167947.diff
167947.diff (text/plain; charset=US-ASCII), 1.05 KB, created by
Alan Somers
on 2014-03-25 15:15:39 UTC
(
hide
)
Description:
167947.diff
Filename:
MIME Type:
Creator:
Alan Somers
Created:
2014-03-25 15:15:39 UTC
Size:
1.05 KB
patch
obsolete
>Index: sys/netinet/if_ether.c >=================================================================== >--- sys/netinet/if_ether.c (revision 263738) >+++ sys/netinet/if_ether.c (working copy) >@@ -334,8 +334,8 @@ > if (la == NULL) { > if (flags & LLE_CREATE) > log(LOG_DEBUG, >- "arpresolve: can't allocate llinfo for %s\n", >- inet_ntoa(SIN(dst)->sin_addr)); >+ "arpresolve: can't allocate llinfo for %s on %s\n", >+ inet_ntoa(SIN(dst)->sin_addr), ifp->if_xname); > m_freem(m); > return (EINVAL); > } >Index: sys/netinet/in.c >=================================================================== >--- sys/netinet/in.c (revision 263738) >+++ sys/netinet/in.c (working copy) >@@ -994,8 +994,9 @@ > 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); >+ /* XXX rtalloc1_fib should take a const param */ >+ rt = rtalloc1_fib(__DECONST(struct sockaddr *, l3addr), 0, 0, >+ ifp->if_fib); > > if (rt == NULL) > return (EINVAL);
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