niu: panic on reset
authorSantwona Behera <santwona.behera@sun.com>
Fri, 12 Sep 2008 23:04:26 +0000 (16:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Sep 2008 23:04:26 +0000 (16:04 -0700)
commitcff502a38394fd33693f6233e03fca363dfa956d
tree09f1231918943bfc5081d7836acf80f1084546e7
parentd58b622b5de9747c82fcc3548f3ec87a02c24dce
niu: panic on reset

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>
drivers/net/niu.c