Project

General

Profile

Actions

Bug #3346

open

disable functions from work queue

Added by Marina Makienko over 12 years ago. Updated over 12 years ago.

Status:
Open
Priority:
Low
Assignee:
Category:
Environment Generation
Start date:
08/15/2012
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

This bug was found in drivers/net/e1000e/netdev.c in kernel linux-2.6.36.2.

It's connected with rule 0139.
There was attempt to check correction of napi_enable()/napi_disable() calls but it's impossible.
It happens because the driver has the next structure:

static int __devinit e1000_probe(struct pci_dev *pdev,
                 const struct pci_device_id *ent)
{
    ...
    INIT_WORK(&adapter->reset_task, e1000_reset_task);
    ...
}

The function e1000_reset_task() is entered into the work queue and isn't called.

Because of it model 139_1a can't check this driver.


Related issues 1 (1 open0 closed)

Related to Linux Kernel Safety RuleDB - Feature #3328: 139: napi_enable() must be paired with napi_disable()OpenMarina Makienko08/07/2012

Actions
Actions

Also available in: Atom PDF