diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-11-29 05:51:36 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-29 05:51:36 -0500 |
commit | dde655c9df02ee07ed090dfdb7ae8741bf299e14 (patch) | |
tree | 9880b957e04e587507910be222e7dc5da7a1e9a5 /net/8021q/vlan_dev.c | |
parent | 5dba4797115c8fa05c1a4d12927a6ae0b33ffc41 (diff) |
[SUNGEM]: Fix NAPI regression with reset work
sungem's gem_reset_task() will unconditionally try to disable NAPI even
when it's called while the interface is not operating and hence the NAPI
struct isn't enabled. Make napi_disable() depend on gp->running.
Also removes a superfluous test of gp->running in the same function.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/8021q/vlan_dev.c')
0 files changed, 0 insertions, 0 deletions