]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
niu: panic on reset
authorSantwona Behera <santwona.behera@sun.com>
Fri, 12 Sep 2008 23:04:26 +0000 (16:04 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Oct 2008 02:44:44 +0000 (19:44 -0700)
commite808212e98c4d8032c7bf88a0f122d58daff6621
tree01a3d8e3c68eca91e06799bec59ffa4fe8889458
parent4b37352ee6c6551bd8bea079219d352990b648ed
niu: panic on reset

[ Upstream commit cff502a38394fd33693f6233e03fca363dfa956d ]

The reset_task function in the niu driver does not reset the tx and rx
buffers properly. This leads to panic on reset. This patch is a
modified implementation of the previously posted fix.

Signed-off-by: Santwona Behera <santwona.behera@sun.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/niu.c