| commit | e8f149924a3111015d16dfbbb4816cfc75ba53cd | [log] [tgz] |
|---|---|---|
| author | Ben Hutchings <bhutchings@solarflare.com> | Tue Dec 07 19:47:34 2010 +0000 |
| committer | Ben Hutchings <bhutchings@solarflare.com> | Tue Dec 07 20:04:22 2010 +0000 |
| tree | 69bbe1b466ba31ecaa105f6c330bf80f633b93ff | |
| parent | 94dec6a2d20a26a779b63bb584e48db5fb0ddb53 [diff] |
sfc: Fix NAPI list corruption during ring reallocation
Call netif_napi_{add,del}() on the NAPI contexts in the new and
old channels, respectively.
Since efx_init_napi() cannot fail, make its return type void.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>