[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpXCpV8agcKFnc2rKjFX+LGBcs+icYzvPd16qY_xZcOTMw@mail.gmail.com>
Date: Mon, 20 Jun 2016 15:53:42 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Jamal Hadi Salim <jhs@...atatu.com>,
Stephen Hemminger <stephen@...workplumber.org>
Subject: Re: [PATCH net] netem: fix a use after free
On Mon, Jun 20, 2016 at 3:00 PM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
> Cc: WANG Cong <xiyou.wangcong@...il.com>
> Cc: Jamal Hadi Salim <jhs@...atatu.com>
> Cc: Stephen Hemminger <stephen@...workplumber.org>
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
Powered by blists - more mailing lists