svn commit: r279028 - in head/usr.sbin: . ifmcstat
Gleb Smirnoff
glebius at FreeBSD.org
Sat Feb 21 00:51:04 UTC 2015
Bruce,
On Fri, Feb 20, 2015 at 03:14:19AM +0000, Bruce Simpson wrote:
B> Gleb,
B>
B> Correct me if I'm wrong -- but doesn't this set of changes remove the
B> ability for the user to see the stack-wide membership filters on each
B> link? The implementation required KVM as it must inspect the SSM filters
B> themselves to obtain this information.
Can you point me at the code please? I see that both kvm(3) or API based
code call in6_ifinfo() or in_ifinfo().
May be you refer to code that was always under #if 0, disabled due to
difficulty to go through RB-trees via kvm(3)?
B> On 19/02/2015 22:42, Gleb Smirnoff wrote:
B> > Now that IGMP and MLD sysctls provide a clean API structures that do not
B> > leak kernel internal stuff, reconnect ifmcstat(1) back to build.
B>
B> The change is well motivated, but the job is only half done.
B>
B> The backend code you have added simply reflects the per-link information
B> to userland as a flat data structure; it does not appear to report what
B> the membership filters are.
B>
B> This would require taking a lock, walking the RB-tree for the in-mode
B> filters, and serializing the data to userland as a variable length
B> structure.
I can do that, if you provide me with details. But I'd really appreciate,
if you do that :)
--
Totus tuus, Glebius.
More information about the svn-src-all
mailing list