]> git.baikalelectronics.ru Git - kernel.git/commit
netxen: fix irq tear down and msix leak.
authorDhananjay Phadke <dhananjay@netxen.com>
Fri, 8 May 2009 22:02:28 +0000 (22:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2009 20:13:36 +0000 (13:13 -0700)
commit3c71b606a5cdcad104aab9c3d246da5eda4e01f6
treeafca65306a28220adb2e24d0f0cbdfe19501b4af
parentaacb9f59fe2057866404712cfd360b9a4d348bd4
netxen: fix irq tear down and msix leak.

o Fix the order of irq and hardware context teardown.
  Also synchronize the interrupt in dev close() before
  releasing tx buffers.

o Fix possible msi-x vector leak if available vectors are
  less than requested.

o Request multiple msix vectors only if hardware supports
  multiple rx queues.

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c