diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2009-05-19 00:12:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-19 00:12:31 +0200 |
commit | c0f84d0d4be3f7d818b4ffb04d27f9bae64397f0 (patch) | |
tree | e36a3f3e2d5cdbc9dfdbd2c5dd4857d93d8776b9 /drivers/net/benet | |
parent | tcp: fix MSG_PEEK race check (diff) | |
download | linux-c0f84d0d4be3f7d818b4ffb04d27f9bae64397f0.tar.xz linux-c0f84d0d4be3f7d818b4ffb04d27f9bae64397f0.zip |
sch_teql: should not dereference skb after ndo_start_xmit()
It is illegal to dereference a skb after a successful ndo_start_xmit()
call. We must store skb length in a local variable instead.
Bug was introduced in 2.6.27 by commit 0abf77e55a2459aa9905be4b226e4729d5b4f0cb
(net_sched: Add accessor function for packet length for qdiscs)
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet')
0 files changed, 0 insertions, 0 deletions