]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r255284
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 21 Sep 2013 22:10:02 +0000 (22:10 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 21 Sep 2013 22:10:02 +0000 (22:10 +0000)
commit8113c8513e2b3536c89b000b23cf03a143298a90
treeb620837eca1f9d4b3d6a0b1e70946a92615595b2
parentedbec9448e5b39d98a57070e69f924e41ed0a0c8
MFC: r255284
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.

git-svn-id: svn://svn.freebsd.org/base/stable/9@255770 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/rpc/clnt_dg.c