From: Eric Dumazet Date: Wed, 3 Jul 2013 21:04:14 +0000 (-0700) Subject: netem: fix possible NULL deref in netem_dequeue() X-Git-Tag: v3.11-rc1~64^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36b7bfe09b6deb71bf387852465245783c9a6208;p=pandora-kernel.git netem: fix possible NULL deref in netem_dequeue() 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 Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed