NTB: ntb_netdev not covering all receive errors
authorDave Jiang <dave.jiang@intel.com>
Mon, 13 Jul 2015 12:07:10 +0000 (08:07 -0400)
committerJon Mason <jdmason@kudzu.us>
Sun, 9 Aug 2015 20:32:21 +0000 (16:32 -0400)
commitda4eb27a2c2efd034bdd645650114b82c479329c
tree17c3763dfb3492ca2812383b52c1f193a7544fd6
parentc8650fd03d320e9c39f44435a583933cacea5259
NTB: ntb_netdev not covering all receive errors

ntb_netdev is allowing the link to come up even when -ENOMEM is returned
from ntb_transport_rx_enqueue.  Fix to cover all possible errors.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/net/ntb_netdev.c