diff options
author | Jarek Poplawski <jarkao2@gmail.com> | 2010-01-04 09:48:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-12 11:55:24 +0100 |
commit | 9db2f1bec36805e57a003f7bb90e003815d96de8 (patch) | |
tree | 5293188063fdd95104fd1d4f0f0e5693ca99874a /net | |
parent | Documentation/3c509: document ethtool support (diff) | |
download | linux-9db2f1bec36805e57a003f7bb90e003815d96de8.tar.xz linux-9db2f1bec36805e57a003f7bb90e003815d96de8.zip |
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 <mikem@ring3k.org>
Reported-by: Berck E. Nash <flyboy@gmail.com>
Tested-by: Berck E. Nash <flyboy@gmail.com>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions