Skip to content

Commit

Permalink
core/logging: Fix race in writing to xnet_ep_fi_ops
Browse files Browse the repository at this point in the history
Signed-off-by: Dariusz Sciebura <[email protected]>
  • Loading branch information
dsciebu committed Nov 28, 2024
1 parent afbff48 commit 923365a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prov/tcp/src/xnet_ep.c
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ static struct fi_ops xnet_ep_fi_ops = {
.close = xnet_ep_close,
.bind = xnet_ep_bind,
.control = xnet_ep_ctrl,
.ops_open = fi_no_ops_open,
.ops_open = xnet_ep_ops_open,
};

static int xnet_ep_getopt(fid_t fid, int level, int optname,
Expand Down Expand Up @@ -828,7 +828,6 @@ int xnet_endpoint(struct fid_domain *domain, struct fi_info *info,
(*ep_fid)->msg = &xnet_msg_ops;
(*ep_fid)->rma = &xnet_rma_ops;
(*ep_fid)->tagged = &xnet_tagged_ops;
(*ep_fid)->fid.ops->ops_open = xnet_ep_ops_open;
return 0;

err3:
Expand Down

0 comments on commit 923365a

Please sign in to comment.