Project

General

Profile

Actions

Feature #3328

open

139: napi_enable() must be paired with napi_disable()

Added by Alexey Khoroshilov over 12 years ago. Updated over 12 years ago.

Status:
Open
Priority:
Normal
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


Related issues 1 (1 open0 closed)

Related to Linux Driver Verification - Bug #3346: disable functions from work queueOpenIlja Zakharov08/15/2012

Actions
Actions

Also available in: Atom PDF