Thread (31 messages) 31 messages, 2 authors, 2016-05-19

Re: [patch added to 3.12-stable] netem: Segment GSO packets on enqueue

From: Eric Dumazet <hidden>
Date: 2016-05-18 16:04:58

On Wed, 2016-05-18 at 16:59 +0200, Jiri Slaby wrote:
On 05/18/2016, 04:54 PM, Eric Dumazet wrote:
quoted
... But qdisc_tree_reduce_backlog() was not there in 3.12
Yeah, but I pulled the series from net_41 including the
qdisc_tree_reduce_backlog backport.

Only for this backport ? Seems risky.

I would have use qdisc_tree_decrease_qlen(sch, 1 - nb); here.
quoted
quoted
+		if (nb > 1)
+			qdisc_tree_reduce_backlog(sch, 1 - nb, prev_len - len);
+	}
 	return NET_XMIT_SUCCESS;
 }
thanks,
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help