OSDN Git Service

net: Remove NET_CORE_BUDGET_USECS from sysctl binary interface.
authorDavid S. Miller <davem@davemloft.net>
Fri, 21 Apr 2017 19:59:52 +0000 (15:59 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Apr 2017 19:59:52 +0000 (15:59 -0400)
We are not supposed to add new entries to this thing
any more.

Thanks to Eric Dumazet for noticing this.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/sysctl.h
kernel/sysctl_binary.c

index 177f5f1..e13d480 100644 (file)
@@ -274,7 +274,6 @@ enum
        NET_CORE_AEVENT_ETIME=20,
        NET_CORE_AEVENT_RSEQTH=21,
        NET_CORE_WARNINGS=22,
-       NET_CORE_BUDGET_USECS=23,
 };
 
 /* /proc/sys/net/ethernet */
index 4ee3e49..ece4b17 100644 (file)
@@ -197,7 +197,6 @@ static const struct bin_table bin_net_core_table[] = {
        { CTL_INT,      NET_CORE_AEVENT_ETIME,  "xfrm_aevent_etime" },
        { CTL_INT,      NET_CORE_AEVENT_RSEQTH, "xfrm_aevent_rseqth" },
        { CTL_INT,      NET_CORE_WARNINGS,      "warnings" },
-       { CTL_INT,      NET_CORE_BUDGET_USECS,  "netdev_budget_usecs" },
        {},
 };