| Submitter | Jiri Pirko |
|---|---|
| Date | Feb. 9, 2013, 4:45 p.m. |
| Message ID | <1360428312-1277-8-git-send-email-jiri@resnulli.us> |
| Download | mbox | patch |
| Permalink | /patch/219406/ |
| State | Changes Requested |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
diff --git a/net/sched/sch_tbf.c b/net/sched/sch_tbf.c index e05710a..dc562a8 100644 --- a/net/sched/sch_tbf.c +++ b/net/sched/sch_tbf.c @@ -121,7 +121,7 @@ static int tbf_enqueue(struct sk_buff *skb, struct Qdisc *sch) struct tbf_sched_data *q = qdisc_priv(sch); int ret; - if (qdisc_pkt_len(skb) > q->max_size) + if (qdisc_pkt_len(skb) > q->max_size && !skb_is_gso(skb)) return qdisc_reshape_fail(skb, sch); ret = qdisc_enqueue(skb, q->qdisc);