Actions
Feature #3328
open139: napi_enable() must be paired with napi_disable()
Start date:
08/07/2012
Due date:
% Done:
20%
Estimated time:
Published in build:
Description
/** * napi_disable - prevent NAPI from scheduling * @n: napi context * * Stop NAPI from being scheduled on this context. * Waits till any outstanding processing completes. */ static inline void napi_disable(struct napi_struct *n); /** * napi_enable - enable NAPI scheduling * @n: napi context * * Resume NAPI from being scheduled on this context. * Must be paired with napi_disable. */ static inline void napi_enable(struct napi_struct *n);
Example of bug:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=5f4a780ddd453c4918555fed9d9c5f2d455a087d
Updated by Marina Makienko about 12 years ago
- Status changed from New to Open
- % Done changed from 0 to 20
Currently the model checked
1. after napi_enable() call should be napi_disable() call
2. napi_enable() couldn't be called if there wasn't napi_disable() call
Actions