Re: [PATCH net] qlcnic: Fix mailbox completion handling during spurious interrupt

2015-11-16 Thread David Miller
From: Rajesh Borundia Date: Mon, 16 Nov 2015 05:58:47 -0500 > + } else { > + if (atomic_read(>rsp_status) != rsp_status) > + qlcnic_83xx_notify_mbx_response(mbx); Here we go with more of some "We don't understand what atomic_t's

[PATCH net] qlcnic: Fix mailbox completion handling during spurious interrupt

2015-11-16 Thread Rajesh Borundia
o While the driver is in the middle of a MB completion processing and it receives a spurious MB interrupt, it is mistaken as a good MB completion interrupt leading to premature completion of the next MB request. Fix the driver to guard against this by checking the current state of MB processing