summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2023-08-22 19:04:51 +0300
committerJon Mason <jdmason@kudzu.us>2023-08-22 19:38:19 +0300
commitf195a1a6fe416882984f8bd6c61afc1383171860 (patch)
tree119e26d8025cab3901431cc205957a4d6e17d9ff /README
parentcc79bd2738c2d40aba58b2be6ce47dc0e471df0e (diff)
downloadlinux-f195a1a6fe416882984f8bd6c61afc1383171860.tar.xz
ntb: Drop packets when qp link is down
Currently when the transport receive packets after netdev has closed the transport returns error and triggers tx errors to be incremented and carrier to be stopped. There is no reason to return error if the device is already closed. Drop the packet and return 0. Fixes: e26a5843f7f5 ("NTB: Split ntb_hw_intel and ntb_transport drivers") Reported-by: Yuan Y Lu <yuan.y.lu@intel.com> Tested-by: Yuan Y Lu <yuan.y.lu@intel.com> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions