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-04-13 10:41:10 +02:00
2016-05-27 15:26:11 -07:00
2016-05-31 11:56:48 -07:00
2016-05-23 13:51:10 -07:00
2016-06-18 20:55:34 -07:00
2016-05-18 11:49:44 +08:00
2016-05-13 16:50:23 +02:00
2016-06-10 22:41:58 -07:00
2016-04-04 15:50:30 -04:00
2016-05-30 23:00:23 +02:00
2016-06-15 23:37:54 -07:00
2016-05-02 17:02:25 -04:00
2016-04-10 23:01:30 -04:00
2016-04-11 22:37:37 +01:00
2016-05-11 19:36:28 -04:00
2016-05-16 14:00:43 -04:00
2016-05-29 22:36:25 -07:00
2016-06-23 11:52:00 -04:00
2016-06-16 17:10:30 -07:00
2016-05-20 20:57:27 -07:00
2016-06-22 16:32:23 -04:00
2016-06-08 11:11:53 -07:00
2016-05-09 22:33:52 -04:00
2016-05-29 22:33:25 -07:00
2016-05-09 15:59:24 -04:00
2016-05-31 12:14:04 +02:00
2016-05-20 18:03:15 -04:00
2016-06-15 12:17:24 +02:00
2016-04-05 16:10:47 -04:00
2016-05-16 22:05:15 -04:00
2016-05-04 01:48:16 +02:00
2016-05-31 13:51:42 -07:00
2016-06-09 23:41:03 -07:00
2016-05-17 14:11:19 -04:00
2016-06-18 21:34:09 -07:00
2016-04-05 10:48:53 +02:00
2016-06-07 15:30:21 -07:00
2016-06-23 15:07:44 -04:00
2016-06-10 23:22:55 -07:00
2016-05-26 10:33:33 -07:00
2016-05-17 13:58:49 -04:00
2016-06-22 16:33:35 -04:00
2016-05-09 15:59:24 -04:00
2016-06-09 09:56:11 +02:00
2016-05-09 22:45:33 -04:00
2016-05-09 15:59:24 -04:00
2016-06-09 23:41:03 -07:00
2016-05-16 13:49:32 -04:00
2016-05-08 23:46:14 -04:00
2016-05-19 19:12:14 -07:00