ixgb: fix smp polling race condition
authorAuke Kok <auke-jan.h.kok@intel.com>
Fri, 26 May 2006 16:35:28 +0000 (09:35 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Fri, 26 May 2006 16:35:28 +0000 (09:35 -0700)
commite59d16965ca38df91c4d9390d8eb5a62d7739589
tree430dd5d0174c4a7c566d8f176599b4a1c324c8c7
parenta24e2513c2d03c9a92739ec6fa7e7208f792881e
ixgb: fix smp polling race condition

Moved interrupt masking to before requesting the interrupt from the OS.
Moved interrupt enable to after netif_poll_enable.  This fixes a racy
BUG() where polling would be running on another CPU at the same time
that netif_poll_enable would run.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
drivers/net/ixgb/ixgb_main.c