diff options
author | Eric Dumazet <edumazet@google.com> | 2013-07-04 01:04:14 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-04 03:52:10 +0400 |
commit | 36b7bfe09b6deb71bf387852465245783c9a6208 (patch) | |
tree | 19b913e5a43e3010c8c8790c7aa87d0d5167dea1 /net/ipv6/ping.c | |
parent | 9eb5bf838d06aa6ddebe4aca6b5cedcf2eb53b86 (diff) | |
download | linux-36b7bfe09b6deb71bf387852465245783c9a6208.tar.xz |
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 <dan.carpenter@oracle.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ping.c')
0 files changed, 0 insertions, 0 deletions