NTB: ntb_process_tx error path bug
authorJon Mason <jdmason@kudzu.us>
Fri, 18 Dec 2015 18:22:37 +0000 (13:22 -0500)
committerJon Mason <jdmason@kudzu.us>
Mon, 11 Jan 2016 14:51:17 +0000 (09:51 -0500)
commit179f912a39ac192d2281ecb10a66918ee20f5d73
tree54a8f7baa97151e57b1277f4ea581b4beb59dd47
parentafd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc
NTB: ntb_process_tx error path bug

The transmit overrun avoidance error path in ntb_process_tx accidentally
swapped the first two values being passed to the tx_handler client.
This could result in crashes in the ntb_netdev (or other out-of-tree NTB
clients).

Reported-by: Alex Depoutovitch <alex@pernixdata.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c