]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5542483271a56afa6e1f4b953ba59b7c3349b21
tree17c3763dfb3492ca2812383b52c1f193a7544fd6
parent9c49c8c53854cf462623f899e2aea831df3536a3
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