]> git.baikalelectronics.ru Git - kernel.git/commit
net: fec: fix missing napi_disable call
authorGeorg Hofmann <georg@hofmannsweb.com>
Thu, 14 Mar 2013 06:54:09 +0000 (06:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Mar 2013 12:46:49 +0000 (08:46 -0400)
commitc46902eb2e645f41b2a8aa02e9034fdd47a8b80c
treee2faae3ad463612867579e91c421e7afa44a03d2
parent47e4240b27ebfa8c44d8281c9e1d1747bbe05ace
net: fec: fix missing napi_disable call

Commit 112d8290ddd9728ff484d8383c64104105676d1e introduces napi support
but never calls napi_disable. This will generate a kernel oops
(kernel BUG at include/linux/netdevice.h:473!) every time, when
ndo_stop is called followed by ndo_start.
Add the missing napi_diable call.

Signed-off-by: Georg Hofmann <georg@hofmannsweb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.c