]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
It was reported via email that the cu_sent field used by the
authorRick Macklem <rmacklem@FreeBSD.org>
Fri, 6 Sep 2013 02:34:34 +0000 (02:34 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Fri, 6 Sep 2013 02:34:34 +0000 (02:34 +0000)
commit318677ad92cf5dec55bc05e8d9afecf7ef704e13
treea6c300f9a75cb7c89265cfb6ce26869b88d6e5dd
parent653a5825b8c2472d6cfe944df6413092424a06ad
It was reported via email that the cu_sent field used by the
krpc client side UDP was observed as way out of range and
caused the rpc.lockd daemon to hang trying to do an RPC.
Inspection of the code found two places where the RPC request
is re-queued, but the value of cu_sent was not incremented.
Since cu_sent is always decremented when the RPC request is
dequeued, I think this could have caused cu_sent to go out of
range. This patch adds lines to increment cu_sent for these
two cases.

Reported by: dwhite@ixsystems.com
Discussed with: dwhite@ixsystems.com
MFC after: 2 weeks
sys/rpc/clnt_dg.c