be2net: clear & notify residual events before destroying event queues
authorSathya Perla <sathyap@serverengines.com>
Mon, 10 Aug 2009 03:43:51 +0000 (03:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 05:13:17 +0000 (22:13 -0700)
commit859b1e4ec86840b0d0980f82b626d687be682eb9
tree8fda4f86d384eb1e61f3feea02639158214dd2d8
parentcdab23b7017693c00dd69fa28bcdf5b0434b3838
be2net: clear & notify residual events before destroying event queues

Any events rcvd after interrupts are disabled (in the driver unload path),
must be cleared and notified before the event queues are destroyed

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c