summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorJoey Zhang <joey.zhang@microchip.com>2019-01-07 06:12:56 +0300
committerJon Mason <jdmason@kudzu.us>2019-02-11 17:26:05 +0300
commit9143595a7e05a848384c240d34abcc4740a65897 (patch)
tree354e705a1ba2dd9751766b1488f83a6a998df01a /certs
parenta2585cdc9e4cda6afaea5f5687eaabce3bebbb2c (diff)
downloadlinux-9143595a7e05a848384c240d34abcc4740a65897.tar.xz
NTB: ntb_transport: Free MWs in ntb_transport_link_cleanup()
If NTB peer host crashes or reboots, the NTB transport link will be down and the MWs of NTB transport will be invalid. But the ntb_transport_link_cleanup() does not free these invalid MWs. When the NTB peer host is recovered later, NTB transport link will be up and the ntb_set_mw() will not reset up MWs. Because the MWs of NTB transport are invalid, the NTB transport will not work. We can fix it by freeing MWs when NTB transport link is down, then the ntb_set_mw() will reset up MWs when NTB transport link is up. Signed-off-by: Joey Zhang <joey.zhang@microchip.com> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions