Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 10:39:47 -0800
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   [RFC] Prune net.inet6.ip6.rr_prune?
Message-ID:  <CAGH67wR2M7%2BNVrn2Qu7R5rgqFCJKgPyd%2BeYyh0BuWSiMd07sKw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
    While going through the tree trying to document all of our
net.inet6 sysctls, I noticed that net.inet6.ip6.rr_prune is defined,
but not actually used anywhere in the stack:

netinet6/ip6_var.h:VNET_DECLARE(int, ip6_rr_prune);  /* router
renumbering prefix
netinet6/ip6_var.h:#define   V_ip6_rr_prune                  VNET(ip6_rr_prune)
netinet6/in6_proto.c:VNET_DEFINE(int, ip6_rr_prune) = 5;     /* router
renumbering prefix
netinet6/in6_proto.c:SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_RR_PRUNE,
rr_prune, CTLFLAG_RW,
netinet6/in6_proto.c:        &VNET_NAME(ip6_rr_prune), 0,

    The knob was declared in r181803 and shuffled around a few times,
but isn't in use anywhere (either then or now).
    Should I send out a PR to remove it (or am I missing some context)?
Thanks,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wR2M7%2BNVrn2Qu7R5rgqFCJKgPyd%2BeYyh0BuWSiMd07sKw>