diff options
author | Eliezer Tamir <eliezert@broadcom.com> | 2008-02-28 11:56:57 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-28 11:56:57 -0800 |
commit | 228241eb58ad13e7cf2ddd9c92eabb5c3055cf5c (patch) | |
tree | 765d0de072a2eab6575ff735a05e8ea492c4d08a /drivers/char/dtlk.c | |
parent | 877e9aa4c31d8d1670b21824b819929435f46579 (diff) |
[BNX2X]: fix slowpath races and locking
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>
Diffstat (limited to 'drivers/char/dtlk.c')
0 files changed, 0 insertions, 0 deletions