be2net: call napi_disable() for all event queues
commit55485e7b417b640870b14eceec4cfbcb2b3e7a92
authorIvan Vecera <ivecera@redhat.com>
Tue, 26 Nov 2013 16:54:41 +0000 (26 17:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Nov 2013 23:50:52 +0000 (28 18:50 -0500)
tree99f714abe6e9da15030777b15ca4ff3bd61eb018
parent39af0c409e8c06b51caf7dc43e49ef96ae790a55
be2net: call napi_disable() for all event queues

The recent be2net commit 6384a4d (adds a support for busy polling)
introduces a regression that results in kernel crash. It incorrectly
modified be_close() so napi_disable() is called only for the first queue.
This breaks a correct pairing of napi_enable/_disable for the rest
of event queues and causes a crash in subsequent be_open() call.

Cc: Sathya Perla <sathya.perla@emulex.com>
Cc: Subbu Seetharaman <subbu.seetharaman@emulex.com>
Cc: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Acked-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c