sgi-xpc: prevent false heartbeat failures
The heartbeat timeout functionality in sgi-xpc is currently not trained to the connection time. If a connection is made and the code is in the last polling window prior to doing a timeout, the next polling window will see the heartbeat as unchanged and initiate a no-heartbeat disconnect. Signed-off-by:Robin Holt <holt@sgi.com> Signed-off-by:
Dean Nelson <dcn@sgi.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- drivers/misc/sgi-xp/xpc.h 38 additions, 62 deletionsdrivers/misc/sgi-xp/xpc.h
- drivers/misc/sgi-xp/xpc_main.c 5 additions, 3 deletionsdrivers/misc/sgi-xp/xpc_main.c
- drivers/misc/sgi-xp/xpc_sn2.c 37 additions, 7 deletionsdrivers/misc/sgi-xp/xpc_sn2.c
- drivers/misc/sgi-xp/xpc_uv.c 43 additions, 80 deletionsdrivers/misc/sgi-xp/xpc_uv.c
Please register or sign in to comment