Dennis Dalessandro 8935780b9f IB/hfi1: Initialize bth1 in 16B rc ack builder
It is possible the bth1 variable could be used uninitialized so going
ahead and giving it a default value.

Otherwise we leak stack memory to the network.

Fixes: 5b6cabb0db77 ("IB/hfi1: Add 16B RC/UC support")
Reviewed-by: Don Hiatt <don.hiatt@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2017-11-30 16:01:28 -07:00
..
2017-11-13 15:53:56 -05:00
2017-11-16 08:55:30 -08:00
2017-11-13 15:53:56 -05:00
2017-11-15 14:54:53 -08:00
2016-10-02 08:42:13 -04:00
2017-11-15 14:54:53 -08:00
2017-11-15 14:54:53 -08:00
2017-10-18 10:15:14 -04:00
2017-11-15 14:54:53 -08:00
2017-11-15 14:54:53 -08:00