diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2016-06-20 13:15:13 -0600 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2016-08-05 10:21:08 -0400 |
commit | 35539b54ac339e2b2dee8c74bc9f0b06f11b11cf (patch) | |
tree | aacbc52f3228f89211c12ef9d1c3b4ef21f72f7a /REPORTING-BUGS | |
parent | 20572ee1c577609f38b56b81c760dcb4151f1dbf (diff) |
ntb_perf: clear link_is_up flag when the link goes down.
When the link goes down, the link_is_up flag did not return to
false. This could have caused some subtle corner case bugs
when the link goes up and down quickly.
Once that was fixed, there was found to be a race if the link was
brought down then immediately up. The link_cleanup work would
occasionally be scheduled after the next link up event. This would
cancel the link_work that was supposed to occur and leave ntb_perf
in an unusable state.
To fix this we get rid of the link_cleanup work and put the actions
directly in the link_down event.
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions