FreeBSD Bugzilla – Attachment 138994 Details for
Bug 185148
[ip6] [patch] Cleanup ip6_mroute.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.txt
file.txt (text/plain), 842 bytes, created by
Sven-Thorsten Dietrich
on 2013-12-23 22:00:00 UTC
(
hide
)
Description:
file.txt
Filename:
MIME Type:
Creator:
Sven-Thorsten Dietrich
Created:
2013-12-23 22:00:00 UTC
Size:
842 bytes
patch
obsolete
>Subject: Don't count table lookups from add_mfc. >Signed-off-by: Sven-Thorsten Dietrich <thebigcorporation@gmail.com> > >Index: sys/netinet6/ip6_mroute.c >=================================================================== >--- sys/netinet6/ip6_mroute.c (revision 256126) >+++ sys/netinet6/ip6_mroute.c (working copy) >@@ -275,7 +275,6 @@ > #define MF6CFIND(o, g, rt) do { \ > struct mf6c *_rt = mf6ctable[MF6CHASH(o,g)]; \ > rt = NULL; \ >- MRT6STAT_INC(mrt6s_mfc_lookups); \ > while (_rt) { \ > if (IN6_ARE_ADDR_EQUAL(&_rt->mf6c_origin.sin6_addr, &(o)) && \ > IN6_ARE_ADDR_EQUAL(&_rt->mf6c_mcastgrp.sin6_addr, &(g)) && \ >@@ -1124,6 +1123,7 @@ > /* > * Determine forwarding mifs from the forwarding cache table > */ >+ MRT6STAT_INC(mrt6s_mfc_lookups); > MF6CFIND(ip6->ip6_src, ip6->ip6_dst, rt); > > /* Entry exists, so forward if necessary */
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 Raw
Actions:
View
Attachments on
bug 185148
: 138994 |
138995
|
138996