diff options
author | Eric Dumazet <edumazet@google.com> | 2016-06-20 22:00:43 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-23 19:07:44 (GMT) |
commit | 21de12ee5568fd1aec47890c72967abf791ac80a (patch) | |
tree | b9bd4619c5053275f78ec107d29ea38272d6cdd0 /mm/highmem.c | |
parent | 817e9f2c5c262b2716f5d77020d118ad53315f3e (diff) | |
download | linux-21de12ee5568fd1aec47890c72967abf791ac80a.tar.xz |
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>
Diffstat (limited to 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions