summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-08-30 19:22:20 -0700
committerDavid S. Miller <davem@davemloft.net>2014-09-01 17:39:56 -0700
commitce93718fb7cdbc064c3000ff59e4d3200bdfa744 (patch)
treee3bfb4777857095c58395e697c06a3e4ecf61c72 /net/sched
parent50cbe9ab5f8d92d2d4a327b56e96559d8f63a1fa (diff)
downloadop-kernel-dev-ce93718fb7cdbc064c3000ff59e4d3200bdfa744.zip
op-kernel-dev-ce93718fb7cdbc064c3000ff59e4d3200bdfa744.tar.gz
net: Don't keep around original SKB when we software segment GSO frames.
Just maintain the list properly by returning the head of the remaining SKB list from dev_hard_start_xmit(). Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/sch_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c
index f178798..a8bf9f9 100644
--- a/net/sched/sch_generic.c
+++ b/net/sched/sch_generic.c
@@ -129,7 +129,7 @@ int sch_direct_xmit(struct sk_buff *skb, struct Qdisc *q,
HARD_TX_LOCK(dev, txq, smp_processor_id());
if (!netif_xmit_frozen_or_stopped(txq))
- ret = dev_hard_start_xmit(skb, dev, txq);
+ skb = dev_hard_start_xmit(skb, dev, txq, &ret);
HARD_TX_UNLOCK(dev, txq);
OpenPOWER on IntegriCloud