diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2014-07-02 18:04:40 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-08 04:38:06 (GMT) |
commit | ff42606eed00bc065365f55269d558c06b968594 (patch) | |
tree | 4ed6a9bd4aab2da58dda625a960dbf1fbd6a6f91 /drivers/net/irda/stir4200.c | |
parent | 91f873453b70fe6cdb83409bee68e1023204c381 (diff) | |
download | linux-ff42606eed00bc065365f55269d558c06b968594.tar.xz |
amd-xgbe: Call netif_napi_del on ndo_stop operation
Currently the napi context is added using netif_napi_add each time
the ndo_open operation is called. However, there is not a
corresponding netif_napi_del call during the ndo_stop operation. If
the device ndo_open operation was called more than once an infinite
loop occurs during module unload. Add a call to netif_napi_del during
the ndo_stop operation.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/stir4200.c')
0 files changed, 0 insertions, 0 deletions