On Tue, Jun 17, 2014 at 6:27 AM, Gregor Best <[email protected]> wrote:
>
> according to sysctl(3), AF_ROUTE is incorrect as a second level name for
> the CTL_NET sysctl. The attached patch corrects this. Since PF_ROUTE is
> defined to AF_ROUTE, there are no functional changes, but the style
> stays consistent this way.
>

Yep.  Patch applied and same fix applied in several other locations.

sysctl({CTL_NET}) is one of the few places where a PF_* is actually correct
to use in userspace.



> I have also noticed that sysctl(3) does not document the NET_RT_TABLE
> fifth-level name for CTL_NET/PF_ROUTE. Is this intentional or should I
> write another patch correcting that?
>

That's a bug, yes.


Philip Guenther

Reply via email to