Re: [PATCH 2/2] rsocket: Update correct rsocket keepalive time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/3/2014 6:08 PM, sean.hefty@xxxxxxxxx wrote:
> From: Sean Hefty <sean.hefty@xxxxxxxxx>
> 
> When the keepalive time of an rsocket is updated, the
> updated information is forwarded to the keepalive service
> thread.  However, the thread updates the time for the
> wrong service as shown:
> 
> tcp_svc_timeouts[svc->cnt] = rs_get_time() + msg.rs->keepalive_time;
> 
> The index into tcp_svc_timeouts should correspond to the
> rsocket being updated, not the last one in the list.
> 
> Signed-off-by: Sean Hefty <sean.hefty@xxxxxxxxx>

Tested-by: Hal Rosenstock <hal@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux