summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_plug.c
diff options
context:
space:
mode:
authorFlorian Westphal2016-06-09 00:27:41 +0200
committerDavid S. Miller2016-06-09 08:58:51 +0200
commitc3a173d7dba2d7c74dd4ab871b8f22bf56ac10b2 (patch)
tree52e2931588e37db52cafb4ec79e08579609e20a8 /net/sched/sch_plug.c
parentcbq: remove TCA_CBQ_POLICE support (diff)
downloadkernel-qcow2-linux-c3a173d7dba2d7c74dd4ab871b8f22bf56ac10b2.tar.gz
kernel-qcow2-linux-c3a173d7dba2d7c74dd4ab871b8f22bf56ac10b2.tar.xz
kernel-qcow2-linux-c3a173d7dba2d7c74dd4ab871b8f22bf56ac10b2.zip
sched: remove qdisc_rehape_fail
After the removal of TCA_CBQ_POLICE in cbq scheduler qdisc->reshape_fail is always NULL, i.e. qdisc_rehape_fail is now the same as qdisc_drop. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_plug.c')
-rw-r--r--net/sched/sch_plug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_plug.c b/net/sched/sch_plug.c
index 5abfe44678d4..ff0d968750df 100644
--- a/net/sched/sch_plug.c
+++ b/net/sched/sch_plug.c
@@ -96,7 +96,7 @@ static int plug_enqueue(struct sk_buff *skb, struct Qdisc *sch)
return qdisc_enqueue_tail(skb, sch);
}
- return qdisc_reshape_fail(skb, sch);
+ return qdisc_drop(skb, sch);
}
static struct sk_buff *plug_dequeue(struct Qdisc *sch)