]> git.baikalelectronics.ru Git - kernel.git/commit
cbq: remove TCA_CBQ_OVL_STRATEGY support
authorFlorian Westphal <fw@strlen.de>
Wed, 8 Jun 2016 22:27:39 +0000 (00:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jun 2016 06:58:51 +0000 (23:58 -0700)
commite1d3cb7a8aeef56f588746d244614684b9d0245f
treee9db92025b9f550133ab1bc6d9b10d96d8d5555d
parentb8b6f5fdd8f8664152ff9a4a66827af34eb3f2bf
cbq: remove TCA_CBQ_OVL_STRATEGY support

since initial revision of cbq in 2004 iproute 2 has never implemented
support for TCA_CBQ_OVL_STRATEGY, which is what needs to be set to
activate the class->drop() call (TC_CBQ_OVL_DROP strategy must be
set by userspace value must be set by userspace).

David Miller says:
   It seems really safe to kill this thing off, flag an error if someone
   tries to set the attribute, and therefore kill off all of the
   non-default cbq_ovl_*() functions.

A followup commit can then remove all .drop qdisc methods since this
removed the only caller.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cbq.c