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