[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130703.165347.1410553793449942226.davem@davemloft.net>
Date: Wed, 03 Jul 2013 16:53:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, dan.carpenter@...cle.com
Subject: Re: [PATCH net-next] netem: fix possible NULL deref in
netem_dequeue()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 03 Jul 2013 14:04:14 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> commit aec0a40a6f7884 ("netem: use rb tree to implement the time queue")
> added a regression if a child qdisc is attached to netem, as we perform
> a NULL dereference.
>
> Fix this by adding a temporary variable to cache
> netem_skb_cb(skb)->time_to_send.
>
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists