aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDave Jiang <[email protected]>2023-08-22 09:04:45 -0700
committerJon Mason <[email protected]>2023-08-22 12:38:19 -0400
commitcc79bd2738c2d40aba58b2be6ce47dc0e471df0e (patch)
treea9966e1ecfd14a131fd11d8a7e62d573cdd1afe0 /lib/test_fortify/write_overflow-strncpy-src.c
parent28e70ed9d0fab935f78b565d9c026585559b86a4 (diff)
ntb: Clean up tx tail index on link down
The tx tail index is not reset when the link goes down. This causes the tail index to go out of sync when the link goes down and comes back up. Refactor the ntb_qp_link_down_reset() and reset the tail index as well. Fixes: 2849b5d70641 ("NTB: Reset transport QP link stats on down") Reported-by: Yuan Y Lu <[email protected]> Tested-by: Yuan Y Lu <[email protected]> Reviewed-by: Logan Gunthorpe <[email protected]> Signed-off-by: Dave Jiang <[email protected]> Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions