[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160623.150829.1562725878285580078.davem@davemloft.net>
Date: Thu, 23 Jun 2016 15:08:29 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
stephen@...workplumber.org
Subject: Re: [PATCH net] netem: fix a use after free
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 20 Jun 2016 15:00:43 -0700
> 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>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists