NTB: reset tx_index on link toggle
authorJon Mason <jon.mason@intel.com>
Fri, 1 Feb 2013 22:34:35 +0000 (15:34 -0700)
committerJon Mason <jon.mason@intel.com>
Wed, 15 May 2013 17:57:51 +0000 (10:57 -0700)
If the NTB link toggles, the driver could stop receiving due to the
tx_index not being set to 0 on the transmitting size on a link-up event.
This is due to the driver expecting the incoming data to start at the
beginning of the receive buffer and not at a random place.

Signed-off-by: Jon Mason <jon.mason@intel.com>
drivers/ntb/ntb_transport.c

Simple merge