Suhas Athani has uploaded this change for review.

View Change

Fix data race and type mismatch in TCP DRC recycle queue length.

- Protect read of tcp_drc_recycle_qlen with drc_st_mtx in
get_tcp_drc_recycle_qlen() to fix Coverity 583557 data race.

- Change drc_st->tcp_drc_recycle_qlen type to uint32_t to match
the API and usage.

Change-Id: Id63f0340ed1b7cdeaaabc8309630d8dd23260886
Signed-off-by: Suhas Athani <Suhas.Athani@ibm.com>
---
M src/RPCAL/nfs_dupreq.c
1 file changed, 8 insertions(+), 2 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/04/1225404/1

To view, visit change 1225404. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Id63f0340ed1b7cdeaaabc8309630d8dd23260886
Gerrit-Change-Number: 1225404
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani@ibm.com>