]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 255284:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Jul 2014 19:18:46 +0000 (19:18 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Jul 2014 19:18:46 +0000 (19:18 +0000)
commit69ccbd1f059ecee5166f2359253f0672dc31d903
treecc2e48412318a39ea482cae6aebe3691f5ef107c
parentcb8a677abb96237e3c89f354c407b74d9bf65d14
MFC 255284:
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/8@268709 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/rpc/clnt_dg.c