be2net: remove BUG_ON() when be2net runs out of mccq wrbs
authorSathya Perla <sathyap@serverengines.com>
Sun, 22 Nov 2009 22:02:45 +0000 (22:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Nov 2009 18:44:31 +0000 (10:44 -0800)
commit713d039426a80ed78e71294cfb5d0a009bb20b42
tree730b990542128235aa1d2d75186aa53f7cdb62e8
parent8d56ff11708e5809c644a6d687a5dff4551043b4
be2net: remove BUG_ON() when be2net runs out of mccq wrbs

The driver can run out of mccq wrbs when completions don't arrive
due to an unresponsive card. This must not hit a BUG_ON(); instead
log a msg and return an error.

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