]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitbe339aee634d5cb98a8df8d6febe04002ec497f3
treeafca65306a28220adb2e24d0f0cbdfe19501b4af
parent7a2469ce4d8984722d65628969ad6f8b09da136f
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