pkt_sched: Fix handling of gso skbs on requeuing
authorJarek Poplawski <jarkao2@gmail.com>
Mon, 6 Oct 2008 16:54:39 +0000 (09:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2008 16:54:39 +0000 (09:54 -0700)
commit554794de7949d1a6279336404c066f974d4c2bde
tree90cb890a68bdf6c9947ddfc451f798bffb8f8990
parent13c1d18931ebb5cf407cb348ef2cd6284d68902d
pkt_sched: Fix handling of gso skbs on requeuing

Jay Cliburn noticed and diagnosed a bug triggered in
dev_gso_skb_destructor() after last change from qdisc->gso_skb
to qdisc->requeue list. Since gso_segmented skbs can't be queued
to another list this patch brings back qdisc->gso_skb for them.

Reported-by: Jay Cliburn <jcliburn@gmail.com>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h
net/sched/sch_generic.c