aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorJarek Poplawski <[email protected]>2010-01-04 08:48:41 +0000
committerDavid S. Miller <[email protected]>2010-01-12 02:55:24 -0800
commit9db2f1bec36805e57a003f7bb90e003815d96de8 (patch)
tree5293188063fdd95104fd1d4f0f0e5693ca99874a /drivers/mtd/lpddr/lpddr_cmds.c
parentaa4e2e171385bb77b4da8b760d26dea2aa291587 (diff)
sky2: Fix oops in sky2_xmit_frame() after TX timeout
During TX timeout procedure dev could be awoken too early, e.g. by sky2_complete_tx() called from sky2_down(). Then sky2_xmit_frame() can run while buffers are freed causing an oops. This patch fixes it by adding netif_device_present() test in sky2_tx_complete(). Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=14925 With debugging by: Mike McCormack <[email protected]> Reported-by: Berck E. Nash <[email protected]> Tested-by: Berck E. Nash <[email protected]> Signed-off-by: Jarek Poplawski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions