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 177f5f139b36997d7128be5932b6745cec15e6ce..e13d48058b8d0e5cf36e458e68e257d73a9a1e8f 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 4ee3e49530d2e1d468fe04917cd824cf991f8d26..ece4b177052baa8a2ba9a5aded7f9694594eb4e5 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" },
        {},
 };