On Thu, Oct 24, 2019 at 12:01:35PM +0100, Thomas Habets wrote:
> $ cd /usr/src/sys
> $ grep mpls_inkloop -r .
> ./netmpls/mpls.h: &mpls_inkloop, \
> ./netmpls/mpls.h:extern int mpls_inkloop;
> ./netmpls/mpls_raw.c:int mpls_inkloop = MPLS_INKERNEL_LOOP_MAX;
> $ grep -r MPLSCTL_MAXINKLOOP .
> ./netmpls/mpls.h:#define MPLSCTL_MAXINKLOOP 4
>
> Looks like last users of this variable were removed in 2015:
> https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/netmpls/mpls_input.c.diff?r1=1.51&r2=1.52&f=h
>
> So should this sysctl be retired, or is there an indirect accessor path I
> did not find?
Yes, I agree this is dead and could be GC-ed.
--
:wq Claudio
No comments:
Post a Comment