diff options
author | Abraham Arce <abraham.arce.moreno@gmail.com> | 2010-04-16 16:48:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-22 01:29:22 +0200 |
commit | 761172fbf672c5784b2a0d71ca2f4389eb7a2c21 (patch) | |
tree | e52513d9473d51eb64722962bbbbdaf28a5b05f7 /net/x25 | |
parent | net: 3c574_cs fix stats.tx_bytes counter (diff) | |
download | linux-761172fbf672c5784b2a0d71ca2f4389eb7a2c21.tar.xz linux-761172fbf672c5784b2a0d71ca2f4389eb7a2c21.zip |
KS8851: NULL pointer dereference if list is empty
Fix NULL pointer dereference in ks8851_tx_work by checking if dequeued
list is already empty before writing the packet to TX FIFO
Unable to handle kernel NULL pointer dereference at virtual address 00000050
PC is at ks8851_tx_work+0xdc/0x1b0
LR is at wait_for_common+0x148/0x164
pc : [<c01c0df4>] lr : [<c025a980>] psr: 20000013
Backtrace:
ks8851_tx_work+0x0/0x1b0
worker_thread+0x0/0x190
kthread+0x0/0x90
Signed-off-by: Abraham Arce <x0066660@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions