Eric Dumazet 21de12ee55 netem: fix a use after free
If the packet was dropped by lower qdisc, then we must not
access it later.

Save qdisc_pkt_len(skb) in a temp variable.

Fixes: 2ccccf5fb43f ("net_sched: update hierarchical backlog too")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-23 15:07:44 -04:00
..
2016-06-15 12:31:35 -07:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2016-04-25 16:44:27 -04:00
2016-06-03 19:24:04 -04:00
2016-06-23 15:07:44 -04:00
2016-06-08 22:41:38 -07:00
2016-06-03 19:24:04 -04:00
2016-06-03 19:24:04 -04:00