be2net: fix to avoid sending get_stats request if one is already being processed.
authorAjit Khaparde <ajitk@serverengines.com>
Thu, 29 Jul 2010 06:18:58 +0000 (06:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jul 2010 06:59:06 +0000 (23:59 -0700)
GET_STATS request uses the same memory region as the response.
If a new request for get stats is fired before the response for
the previous get_stats request is received, the response will
corrupt the new request, causing the f/w to misbehave.

Signed-off-by: Somnath K <somnathk@serverengines.com>
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found