diff options
author | Michael Chan <mchan@broadcom.com> | 2010-12-31 19:03:14 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-31 19:03:14 (GMT) |
commit | a29ba9d2d84889686a3af1c5a6023f28be75ccba (patch) | |
tree | 46506c127a2d37ef00dca9752cc93e15e2f7b727 /firmware/bnx2/bnx2-mips-06-6.2.1.fw.ihex | |
parent | 0438a1b24437cf007ed0e0f5f6b414d5b49468dc (diff) | |
download | linux-a29ba9d2d84889686a3af1c5a6023f28be75ccba.tar.xz |
bnx2: Free IRQ before freeing status block memory
When changing ring size, we free all memory including status block
memory. If we're in INTA mode and sharing IRQ, the IRQ handler can
be called and it will reference the NULL status block pointer.
Because of the lockless design of the IRQ handler, there is no simple
way to synchronize and prevent this. So we avoid this problem by
freeing the IRQ handler before freeing the status block memory.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/bnx2/bnx2-mips-06-6.2.1.fw.ihex')
0 files changed, 0 insertions, 0 deletions