pkt_sched: Move gso_skb into Qdisc.
We liberate any dangling gso_skb during qdisc destruction. It really only matters for the root qdisc. But when qdiscs can be shared by multiple netdev_queue objects, we can't have the gso_skb in the netdev_queue any more. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b4c21639ab
commit
d3b753db7c
3 changed files with 10 additions and 11 deletions
|
@ -449,7 +449,6 @@ struct netdev_queue {
|
|||
struct net_device *dev;
|
||||
struct Qdisc *qdisc;
|
||||
unsigned long state;
|
||||
struct sk_buff *gso_skb;
|
||||
spinlock_t _xmit_lock;
|
||||
int xmit_lock_owner;
|
||||
struct Qdisc *qdisc_sleeping;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue