Skip to content

Commit

Permalink
[BNX2X]: fix slowpath races and locking
Browse files Browse the repository at this point in the history
Fixed locking between fastpath and slowpath operations.

Corrected order of traffic disabling to prevent race when going down
under traffic.

- first have the microcode drop all incoming packets
- then do the slowpath stuff
- only then reset the MAC

Got rid of in_reset_task.

Remove_one() and friends would deference a null pointer if init_one
failed.

Signed-off-by: Eliezer Tamir <eliezert@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eliezer Tamir authored and David S. Miller committed Feb 28, 2008
1 parent 877e9aa commit 228241e
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 100 deletions.
Loading

0 comments on commit 228241e

Please sign in to comment.