]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit543508c9dd39ccac75b912450620fffedab0939e
tree09f1231918943bfc5081d7836acf80f1084546e7
parentd361f89a22e3204bb6636b86dcb8ea550f8b5ce0
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