]> 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)
commit2759907550dcee16901de838a167f9cbcb638dd9
tree17c3763dfb3492ca2812383b52c1f193a7544fd6
parente4f913b2d9db512c9b5f9fcab95dec8519f65003
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